auth_password_validators_changed
Clears the cache of default password validators when the AUTH_PASSWORD_VALIDATORS setting is modified.
def auth_password_validators_changed(
setting: string,
kwargs: dict
) - > null
Clears the internal cache of password validators when the AUTH_PASSWORD_VALIDATORS setting is modified. This ensures that any changes to password validation rules are immediately reflected in the application state.
Parameters
| Name | Type | Description |
|---|---|---|
| setting | string | The name of the Django setting that was modified, used to determine if the password validator cache needs to be cleared. |
| kwargs | dict | Additional keyword arguments passed by the setting_changed signal dispatcher. |
Returns
| Type | Description |
|---|---|
null | This function does not return a value. |