diff options
author | 2014-09-30 22:37:11 -0700 | |
---|---|---|
committer | 2014-09-30 22:37:11 -0700 | |
commit | eab0867f20767113b6bad3a81104e07ae547b461 (patch) | |
tree | c50a42295845165d554b402bc1a0afc691a25585 /token.cgi | |
parent | Bug 1070317 - Bugzilla::Flag's attribute modification_date is affected by the... (diff) | |
download | bugzilla-eab0867f20767113b6bad3a81104e07ae547b461.tar.gz bugzilla-eab0867f20767113b6bad3a81104e07ae547b461.tar.bz2 bugzilla-eab0867f20767113b6bad3a81104e07ae547b461.zip |
Bug 1061247 - Successfully using a password change token should invalidate all other password change tokens for that user
r=gerv a=glob
Diffstat (limited to 'token.cgi')
-rwxr-xr-x | token.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -176,6 +176,8 @@ sub changePassword { $user->set_password($password); $user->update(); delete_token($token); + $dbh->do(q{DELETE FROM tokens WHERE userid = ? + AND tokentype = 'password'}, undef, $user_id); Bugzilla->logout_user_by_id($user_id); |