fixes #414, deactivate auth keys on password change

This commit is contained in:
plegall
2016-02-12 20:20:12 +01:00
parent 25edfc2663
commit fbd90fa460
4 changed files with 27 additions and 0 deletions

View File

@@ -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>';