diff options
author | plegall <plg@piwigo.org> | 2016-02-12 20:20:12 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-02-12 20:20:12 +0100 |
commit | fbd90fa46081cb5a7208dfff83041927f7759b9f (patch) | |
tree | 98ea2addb0c2e48742e92f9565f80d353fc5a2d1 /password.php | |
parent | 25edfc2663a0d87e6216981c44dadb52d1f8ab72 (diff) |
fixes #414, deactivate auth keys on password change
Diffstat (limited to 'password.php')
-rw-r--r-- | password.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/password.php b/password.php index 4e03079a7..5a96ea1bc 100644 --- a/password.php +++ b/password.php @@ -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>'; |