MediaWiki REL1_39
MediaWiki\User\Hook\User__mailPasswordInternalHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\User\Hook\User__mailPasswordInternalHook:

Public Member Functions

 onUser__mailPasswordInternal ( $user, $ip, $u)
 This hook is called before creation and mailing of a user's new temporary password.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "User::mailPasswordInternal" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file User__mailPasswordInternalHook.php.

Member Function Documentation

◆ onUser__mailPasswordInternal()

MediaWiki\User\Hook\User__mailPasswordInternalHook::onUser__mailPasswordInternal ( $user,
$ip,
$u )

This hook is called before creation and mailing of a user's new temporary password.

Since
1.35
Parameters
User$userThe user who sent the message out
string$ipIP of the user who sent the message out
User$uThe account whose new password will be set
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: