Fallback to normalized email if there is no ascii available
Closes #13241
This commit is contained in:
1 parent
b3fd5364dc
commit
5f934d2f30
1 file changed
+1
-1
@@ -68,7 +68,7 @@ try:
|
||||
emailinfo = _validate_email(
|
||||
email, check_deliverability=False,
|
||||
test_environment=Pool.test)
|
||||
return emailinfo.ascii_email
|
||||
return emailinfo.ascii_email or emailinfo.normalized
|
||||
except EmailNotValidError:
|
||||
return email
|
||||
|
||||
|
||||
Reference in new issue
Block a user