Manual:Hooks/UserComparePasswords

Details
Return false to override the default password checks.


 * &$hash: String of the password hash (from the database)
 * &$password: String of the plaintext password the user entered
 * &$userId: Integer of the user's ID or Boolean false if the user ID was not supplied
 * &$result: If the hook returns false, this Boolean value will be checked to determine if the password was valid