Skip to content

Commit 9fea9f2

Browse files
authored
Merge pull request #10162 from internetarchive/jimchamp-patch-2
Update disposable email check
2 parents c365481 + b19ba14 commit 9fea9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlibrary/plugins/upstream/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def find_ia_account(email=None):
4444
)
4545
email_not_disposable = Validator(
4646
_("Disposable email not permitted"),
47-
lambda email: not email.lower().endswith('dispostable.com'),
47+
lambda email: not email.lower().endswith('@dispostable.com'),
4848
)
4949
email_domain_not_blocked = Validator(
5050
_("Your email provider is not recognized."),

0 commit comments

Comments
 (0)