From cf3e4b9363e6643dc4d32863e408bae8f0614a84 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 27 Apr 2022 23:33:53 +0200 Subject: [PATCH] Restore previous error message for invalid phone numbers --- shiftregister/app/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiftregister/app/forms.py b/shiftregister/app/forms.py index 8ce890e..d349f06 100644 --- a/shiftregister/app/forms.py +++ b/shiftregister/app/forms.py @@ -15,7 +15,7 @@ def text_input(): def validate_allowed_countries(value): if not f"{value.country_code}" in global_preferences["helper__allowed_countries"]: raise ValidationError( - "Vorwahl nicht erlaubt, bitte wende dich an den Infopoint" + "Vorwahl nicht erlaubt, bitte wende dich an den Infopoint oder schicke uns eine Mail" ) return value