aboutsummaryrefslogtreecommitdiffstats
path: root/password.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-03-08 10:48:00 +0100
committerplegall <plg@piwigo.org>2016-03-08 10:48:00 +0100
commitf9fecd0be09ea6da405f1ab2a09e09bc51312dd4 (patch)
tree681f9b4cbbed109beb41ca4babf0662dc814f8c4 /password.php
parentf5d0f09a20da71d51ed4d85da2d2c12698b11b6b (diff)
parentd80d853a23119bd21c20ad92024cba5dce47e7d4 (diff)
Merge branch 'master' into translation
Diffstat (limited to 'password.php')
-rw-r--r--password.php2
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>';