Skip to content

Commit

Permalink
Rename import from disposable_email_domains (pypi#14204)
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored Jul 25, 2023
1 parent 23e4be1 commit 3efb146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warehouse/accounts/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def validate_email(self, field):
# Check if the domain is valid
domain = field.data.split("@")[-1]

if domain in disposable_email_domains.blacklist:
if domain in disposable_email_domains.blocklist:
raise wtforms.validators.ValidationError(
_(
"You can't use an email address from this domain. Use a "
Expand Down

0 comments on commit 3efb146

Please sign in to comment.