Skip to content

Commit b63fe4b

Browse files
authored
Permit unverified emails for login confirmation (#19057)
1 parent 661c06f commit b63fe4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

warehouse/email/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ def send_recovery_code_reminder_email(request, user):
983983
return {"username": user.username}
984984

985985

986-
@_email("unrecognized-login")
986+
@_email("unrecognized-login", allow_unverified=True)
987987
def send_unrecognized_login_email(request, user, *, ip_address, user_agent, token):
988988
return {
989989
"username": user.username,

0 commit comments

Comments
 (0)