Password reset email not sent

305 views
Skip to first unread message

janedenone

unread,
May 4, 2010, 5:16:41 PM5/4/10
to Django users
Hi,

when using Django's password reset mechanism, the confirmation email
is not sent (although some of my custom views do send email
successfully using the SMTP configuration from settings.py).

Also, I understand that the reset link in the email contains the user
ID, but it is based on the email address provided earlier. At the same
time, the User model's email field is not unique – so how does Django
know which password should be reset if two or more users happen to
have the same email address?

Kind regards,
Jan

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Shawn Milochik

unread,
May 4, 2010, 5:28:04 PM5/4/10
to django...@googlegroups.com
I don't know why your e-mail isn't being sent, but I know that if multiple User instances have the same e-mail address, then that e-mail address will receive one message per User. Each one will specify the username, so it's easy to reset the correct password.

Shawn

Артём Думанов

unread,
Aug 4, 2017, 8:07:19 AM8/4/17
to Django users
Did you solve it?

среда, 5 мая 2010 г., 0:16:41 UTC+3 пользователь janedenone написал:
Reply all
Reply to author
Forward
0 new messages