2
0
Fork 0

Restore previous error message for invalid phone numbers

This commit is contained in:
Luca 2022-04-27 23:33:53 +02:00
parent 6a092c343d
commit cf3e4b9363
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ def text_input():
def validate_allowed_countries(value): def validate_allowed_countries(value):
if not f"{value.country_code}" in global_preferences["helper__allowed_countries"]: if not f"{value.country_code}" in global_preferences["helper__allowed_countries"]:
raise ValidationError( 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 return value