MediaWiki  master
MediaWiki\Auth\Hook\ResetPasswordExpirationHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Auth\Hook\ResetPasswordExpirationHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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: