mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +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)
|
token = default_token_generator.make_token(u)
|
||||||
send_template_mail(
|
send_template_mail(
|
||||||
settings.ACCOUNTS_NOREPLY_FROM,
|
settings.ACCOUNTS_NOREPLY_FROM,
|
||||||
form.cleaned_data['email'],
|
u.email,
|
||||||
'Password reset for your postgresql.org account',
|
'Password reset for your postgresql.org account',
|
||||||
'account/password_reset_email.txt',
|
'account/password_reset_email.txt',
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user