Manual:Hooks/isValidPassword

Details

 * $password: Desired password.
 * &$result: Set this and return false to override the internal checks.
 * $user: User the password is being validated for.