Manual:Hooks/PrefsPasswordAudit

Details

 * $user: User (object) changing his password
 * $newPass: new password
 * $error: error (string) 'badretype', 'wrongpassword', 'error' or 'success'

With the introduction of AuthManager in 1.27, this hook was replaced by.