From 47033bfd486206d6809068c838d45b999e5c1bd2 Mon Sep 17 00:00:00 2001 From: Amin Shah Gilani Date: Tue, 19 Dec 2023 12:04:04 -0500 Subject: [PATCH] Doc'd that users with unusable passwords cannot request a password reset. --- docs/ref/contrib/auth.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index db1ff3bb5dae..036f8d9f7678 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -188,6 +188,12 @@ Methods You may need this if authentication for your application takes place against an existing external source such as an LDAP directory. + .. admonition:: Password reset restriction + + Users having an unusable password will not able to request a + password reset email via + :class:`~django.contrib.auth.views.PasswordResetView`. + .. method:: has_usable_password() Returns ``False`` if