PasswordResetView returns a success message for emails not in database also.
Problems Faced
As mentioned in documentationhttps://docs.djangoproject.com/en/stable/topics/auth/default/#django.contrib.auth.views.PasswordResetView
This prevents information leaking to potential attackers
Although a potential attacker can easily get these information from Sign-Up/Register page as Validation error is raised when a Duplicate Email Address is entered during sign-up.
If there's not a Unique email Validation during Sign-up there are chances that multiple users get registered with same email (if user mistakenly types someone else's email) and Password Reset email is sent multiple times for different Users which is more risky.
Facebook, Netflix and many more also raises a Validation Error when non registered email is entered
Thanks for your time.
Sorry I don’t know the real necessity of not validating the email but this really causes confusion and wastes the User’s precious time.
On 9 Jan 2020, at 9:08 am, SANYAM MITTAL <sanyam1...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/5e164f97.1c69fb81.aec39.cb9b%40mx.google.com.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/06dcb212-a2b9-4e9d-8bb7-a1cca36fc699%40googlegroups.com.
On 9 Jan 2020, at 9:32 am, Sanyam Mittal <sanyam1...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CADXzAOcwjxDUk5r%3DW0-0vEZfUmOWRWiCqKPDNp8va2pjYBKVSg%40mail.gmail.com.