mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-01 15:54:53 +00:00
Send password reset emails to stored email address
Even though compared to be case insensitively equal, there are unicode cases where they can be different.
This commit is contained in:
@ -269,7 +269,7 @@ def resetpwd(request):
|
||||
token = default_token_generator.make_token(u)
|
||||
send_template_mail(
|
||||
settings.ACCOUNTS_NOREPLY_FROM,
|
||||
form.cleaned_data['email'],
|
||||
u.email,
|
||||
'Password reset for your postgresql.org account',
|
||||
'account/password_reset_email.txt',
|
||||
{
|
||||
|
Reference in New Issue
Block a user