diff options
| author | Tim Graham <timograham@gmail.com> | 2016-11-10 06:30:38 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-16 17:40:37 -0500 |
| commit | 0d9ff873d9f93efbba875efbf582db88bb0e30ce (patch) | |
| tree | eefc9f9c29b24b9482d39efb6c0d9d40ee3977cb /docs | |
| parent | 45e01df37353324c3ca9cca1b330bc2841468f82 (diff) | |
Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 work as documented.
Thanks goblinJoel for the report and feedback.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/auth/passwords.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt index da2bc57df8..7015e65404 100644 --- a/docs/topics/auth/passwords.txt +++ b/docs/topics/auth/passwords.txt @@ -545,11 +545,10 @@ Django includes four validators: is used: ``'username', 'first_name', 'last_name', 'email'``. Attributes that don't exist are ignored. - The maximum similarity the password can have, before it is rejected, can - be set with the ``max_similarity`` parameter, on a scale of 0 to 1. - A setting of 0 will cause all passwords to be rejected, whereas a setting - of 1 will cause it to only reject passwords that are identical to an - attribute's value. + The minimum similarity of a rejected password can be set on a scale of 0 to + 1 with the ``max_similarity`` parameter. A setting of 0 rejects all + passwords, whereas a setting of 1 rejects only passwords that are identical + to an attribute's value. .. class:: CommonPasswordValidator(password_list_path=DEFAULT_PASSWORD_LIST_PATH) |
