From d8bff5adda81be20befe68613edc2b603709cad1 Mon Sep 17 00:00:00 2001 From: Amin Shah Gilani Date: Tue, 19 Dec 2023 12:04:04 -0500 Subject: [PATCH] [5.0.x] Doc'd that users with unusable passwords cannot request a password reset. Backport of 47033bfd486206d6809068c838d45b999e5c1bd2 from main --- 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 482eed231b..953c31a6ae 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