diff --git a/ietf/ietfauth/forms.py b/ietf/ietfauth/forms.py index d6ef9ff97..918c8a239 100644 --- a/ietf/ietfauth/forms.py +++ b/ietf/ietfauth/forms.py @@ -148,7 +148,7 @@ class NewEmailForm(forms.Form): if existing: raise forms.ValidationError("Email address '%s' is already assigned to account '%s' (%s)" % (existing, existing.person and existing.person.user, existing.person)) - for pat in settings.EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS: + for pat in settings.EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS: if re.search(pat, email): raise ValidationError("This email address is not valid in a datatracker account") diff --git a/ietf/secr/rolodex/forms.py b/ietf/secr/rolodex/forms.py index a900f85c6..2518d0cba 100644 --- a/ietf/secr/rolodex/forms.py +++ b/ietf/secr/rolodex/forms.py @@ -78,7 +78,7 @@ class NewEmailForm(EmailForm): if address: validate_email(address) - for pat in settings.EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS: + for pat in settings.EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS: if re.search(pat, address): raise ValidationError("This email address is not valid in a datatracker account") diff --git a/ietf/settings.py b/ietf/settings.py index 767ffb8ce..3aff3bc15 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -899,7 +899,7 @@ SVN_ADMIN_COMMAND = "/usr/bin/svnadmin" # Email addresses people attempt to set for their account will be checked # against the following list of regex expressions with re.search(pat, addr): -EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS = ["@ietf.org$"] +EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS = ["@ietf.org$"] MARKUP_SETTINGS = { 'restructuredtext': {