MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onIsValidPassword ( $password, &$result, $user) | |
Use this hook to override the result of User::isValidPassword() | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "isValidPassword" to register handlers implementing this interface.
Definition at line 15 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.