password_changed
Inform all validators that have implemented a password_changed() method that the password has been changed.
def password_changed(
password: string,
user: object = None,
password_validators: list = None
) - > null
Inform all validators that have implemented a password_changed() method that the password has been changed.
Parameters
| Name | Type | Description |
|---|---|---|
| password | string | The new raw password string that has been set for the user. |
| user | object = None | The user instance whose password was changed, used by validators to associate the change with a specific account. |
| password_validators | list = None | A collection of validator instances to notify; if None, the system's default password validators are used. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; this function is called for its side effects on validator state. |