浏览代码

[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
         You may need this if authentication for your application takes place
         against an existing external source such as an LDAP directory.
         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()
     .. method:: has_usable_password()
 
 
         Returns ``False`` if
         Returns ``False`` if