MediaWiki  master
MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook:

Public Member Functions

 onChangeAuthenticationDataAudit ( $req, $status)
 This hook is called when a user changes their password. More...
 

Detailed Description

Stable for implementation.

Definition at line 12 of file ChangeAuthenticationDataAuditHook.php.

Member Function Documentation

◆ onChangeAuthenticationDataAudit()

MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook::onChangeAuthenticationDataAudit (   $req,
  $status 
)

This hook is called when a user changes their password.

No return data is accepted; this hook is for auditing only.

Since
1.35
Parameters
AuthenticationRequest$reqAuthenticationRequest object describing the change (and target user)
StatusValue$statusStatusValue with the result of the action
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner, and MediaWiki\Api\ApiHookRunner.


The documentation for this interface was generated from the following file: