mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #414, deactivate auth keys on password change
This commit is contained in:
@@ -260,6 +260,8 @@ function reset_password()
|
||||
array('user_id' => $user_id)
|
||||
);
|
||||
|
||||
deactivate_user_auth_keys($user_id);
|
||||
|
||||
$page['infos'][] = l10n('Your password has been reset');
|
||||
$page['infos'][] = '<a href="'.get_root_url().'identification.php">'.l10n('Login').'</a>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user