52 $logger = LoggerFactory::getInstance(
'authentication' );
53 foreach ( $this->reqs as
$req ) {
56 $this->authManager->changeAuthenticationData(
$req,
true );
58 "{requestingUser} did password reset of {targetUser} and an email was sent",
59 $this->logContext + [
'targetUser' =>
$req->username ]
Sends emails to all accounts associated with that email to reset the password.
__construct(AuthManager $authManager, array $reqs, array $logContext)
doUpdate()
Perform the actual work.
this hook is for auditing only $req
Interface that deferrable updates should implement.