MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onIsValidPassword ( $password, &$result, $user) | |
Use this hook to override the result of User::isValidPassword() | |
Stable to implement.
Definition at line 12 of file IsValidPasswordHook.php.
MediaWiki\User\Hook\IsValidPasswordHook::onIsValidPassword | ( | $password, | |
& | $result, | ||
$user | |||
) |
Use this hook to override the result of User::isValidPassword()
string | $password | The password entered by the user |
bool | string | MessageSpecifier | &$result | Set this and return false to override the internal checks |
User | $user | User the password is being validated for |
Implemented in MediaWiki\HookContainer\HookRunner.