Skip to content

Commit

Permalink
Fixed #34970 -- Clarified Password Validation docs regarding the pass…
Browse files Browse the repository at this point in the history
…word_changed callback.
  • Loading branch information
alimony authored and nessita committed Nov 15, 2023
1 parent 36ed45d commit 61c305f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/topics/auth/passwords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,9 @@ can write your own as well.

Each password validator must provide a help text to explain the requirements to
the user, validate a given password and return an error message if it does not
meet the requirements, and optionally receive passwords that have been set.
Validators can also have optional settings to fine tune their behavior.
meet the requirements, and optionally define a callback to be notified when
the password for a user has been changed. Validators can also have optional
settings to fine tune their behavior.

Validation is controlled by the :setting:`AUTH_PASSWORD_VALIDATORS` setting.
The default for the setting is an empty list, which means no validators are
Expand Down

0 comments on commit 61c305f

Please sign in to comment.