Doc'd that users with unusable passwords cannot request a password reset.

This commit is contained in:
Amin Shah Gilani 2023-12-19 12:04:04 -05:00 committed by GitHub
parent 08306bad57
commit 47033bfd48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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