Manual:Hooks/UserComparePasswords

Details
This hook was removed in as part of the RFC for improving the storage of passwords.

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