mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Fixed #16860 -- Added password validation to django.contrib.auth.
This commit is contained in:
parent
f4416b1a8b
commit
1daae25bdc
12 changed files with 663 additions and 5 deletions
|
@ -2767,6 +2767,19 @@ Default::
|
|||
'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher',
|
||||
'django.contrib.auth.hashers.CryptPasswordHasher']
|
||||
|
||||
.. setting:: AUTH_PASSWORD_VALIDATORS
|
||||
|
||||
AUTH_PASSWORD_VALIDATORS
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 1.9
|
||||
|
||||
Default: ``[]``
|
||||
|
||||
Sets the validators that are used to check the strength of user's passwords.
|
||||
See :ref:`password-validation` for more details.
|
||||
By default, no validation is performed and all passwords are accepted.
|
||||
|
||||
.. _settings-messages:
|
||||
|
||||
Messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue