MediaWiki master
MediaWiki\Auth\Hook\ResetPasswordExpirationHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onResetPasswordExpiration ( $user, &$newExpire)
 Use this hook to allow extensions to set a default password expiration.
 

Detailed Description

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

Use the hook name "ResetPasswordExpiration" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file ResetPasswordExpirationHook.php.

Member Function Documentation

◆ onResetPasswordExpiration()

MediaWiki\Auth\Hook\ResetPasswordExpirationHook::onResetPasswordExpiration ( $user,
& $newExpire )

Use this hook to allow extensions to set a default password expiration.

Since
1.35
Parameters
User$userUser having their password expiration reset
string&$newExpireNew expiration date
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: