Skip to content

Commit

Permalink
Doc'd that users with unusable passwords cannot request a password re…
Browse files Browse the repository at this point in the history
…set.
  • Loading branch information
amingilani authored Dec 19, 2023
1 parent 08306ba commit 47033bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/ref/contrib/auth.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47033bf

Please sign in to comment.