mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-02 15:56:51 +01:00
New hook: HOOK_ACCOUNT_CHANGE_PASSWORD_POST
This commit is contained in:
@@ -43,6 +43,8 @@ else
|
||||
if($old_password != $account_logged->getPassword()) {
|
||||
$errors[] = "Current password is incorrect!";
|
||||
}
|
||||
|
||||
$hooks->trigger(HOOK_ACCOUNT_CHANGE_PASSWORD_POST);
|
||||
}
|
||||
if(!empty($errors)){
|
||||
//show errors
|
||||
|
||||
Reference in New Issue
Block a user