Skip to content

Commit ad2139d

Browse files
committed
Fixed a settings typo.
- Legacy-Id: 14725
1 parent 91ee536 commit ad2139d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/ietfauth/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def clean_new_email(self):
148148
if existing:
149149
raise forms.ValidationError("Email address '%s' is already assigned to account '%s' (%s)" % (existing, existing.person and existing.person.user, existing.person))
150150

151-
for pat in settings.EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
151+
for pat in settings.EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
152152
if re.search(pat, email):
153153
raise ValidationError("This email address is not valid in a datatracker account")
154154

ietf/secr/rolodex/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def clean_address(self):
7878
if address:
7979
validate_email(address)
8080

81-
for pat in settings.EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
81+
for pat in settings.EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS:
8282
if re.search(pat, address):
8383
raise ValidationError("This email address is not valid in a datatracker account")
8484

ietf/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ def skip_unreadable_post(record):
899899

900900
# Email addresses people attempt to set for their account will be checked
901901
# against the following list of regex expressions with re.search(pat, addr):
902-
EXLUDED_PERSONAL_EMAIL_REGEX_PATTERNS = ["@ietf.org$"]
902+
EXCLUDED_PERSONAL_EMAIL_REGEX_PATTERNS = ["@ietf.org$"]
903903

904904
MARKUP_SETTINGS = {
905905
'restructuredtext': {

0 commit comments

Comments
 (0)