MediaWiki 1.39.10
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onSpecialPasswordResetOnSubmit (&$users, $data, &$error) | |
This hook is called when executing a form submission on Special:PasswordReset. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialPasswordResetOnSubmit" to register handlers implementing this interface.
Definition at line 15 of file SpecialPasswordResetOnSubmitHook.php.
MediaWiki\User\Hook\SpecialPasswordResetOnSubmitHook::onSpecialPasswordResetOnSubmit | ( | & | $users, |
$data, | |||
& | $error ) |
This hook is called when executing a form submission on Special:PasswordReset.
User[] | &$users | |
array | $data | Array of data submitted by the user |
string | array | MessageSpecifier | &$error | String, error code (message key) used to describe to error (out parameter). The hook needs to return false when setting this, otherwise it will have no effect. |
Implemented in MediaWiki\HookContainer\HookRunner.