MediaWiki  master
ResetPasswordExpirationHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Auth\Hook;
4 
5 use User;
6 
21  public function onResetPasswordExpiration( $user, &$newExpire );
22 }
MediaWiki\Auth\Hook\ResetPasswordExpirationHook
Stable to implement.
Definition: ResetPasswordExpirationHook.php:11
MediaWiki\Auth\Hook\ResetPasswordExpirationHook\onResetPasswordExpiration
onResetPasswordExpiration( $user, &$newExpire)
Use this hook to allow extensions to set a default password expiration.
MediaWiki\Auth\Hook
Definition: AuthManagerLoginAuthenticateAuditHook.php:3
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56