user.validatePasswordPolicy

Triggered in Backend\Models\User.

Called when the user password is validated against the policy

Example usage:

$model->bindEvent('user.validatePasswordPolicy', function (string $password) use ($model) {
    throw new ValidationException(['password' => 'Prevent anything from validating ever!']);
});