mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02: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