MediaWiki  master
ResetPasswordExpirationHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Auth\Hook;
4 
5 use User;
6 
24  public function onResetPasswordExpiration( $user, &$newExpire );
25 }
MediaWiki\Auth\Hook\ResetPasswordExpirationHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ResetPasswordExpirationHook.php:14
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