Преглед изворни кода

[5.0.x] Doc'd that users with unusable passwords cannot request a password reset.

Backport of 47033bfd486206d6809068c838d45b999e5c1bd2 from main
Amin Shah Gilani пре 1 година
родитељ
комит
d8bff5adda
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      docs/ref/contrib/auth.txt

+ 6 - 0
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