diff options
| author | Amin Shah Gilani <amin@gilani.me> | 2023-12-19 12:04:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-19 14:04:04 -0300 |
| commit | 47033bfd486206d6809068c838d45b999e5c1bd2 (patch) | |
| tree | b046e369a2384cd22baf61b1b47ce51f0c19981e /docs | |
| parent | 08306bad57761b5eb176894649ac7d4e735c52dd (diff) | |
Doc'd that users with unusable passwords cannot request a password reset.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index db1ff3bb5d..036f8d9f76 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 |
