users: fix not being able to verify account with certain valid emails.
Bug: Verifying your account with a hotmail.com email address didn't mark your account as verified. This was because the list of allowed email verification domains only included normalized domains, but we were looking up unnormalized domains.
This commit is contained in:
@@ -16,7 +16,7 @@ class EmailAddress < ApplicationRecord
|
||||
end
|
||||
|
||||
def nondisposable?
|
||||
EmailValidator.nondisposable?(address)
|
||||
EmailValidator.nondisposable?(normalized_address)
|
||||
end
|
||||
|
||||
def validate_deliverable
|
||||
|
||||
Reference in New Issue
Block a user