diff options
author | Reed Loden <reed@reedloden.com> | 2014-09-30 22:32:15 -0700 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2014-09-30 22:32:15 -0700 |
commit | 8222ed65c30f308adc92f2da19e746cb7b22eba2 (patch) | |
tree | d33ccecf0ace25cc22d272f23afa9c1e635887ed | |
parent | Bug 1070317 - Bugzilla::Flag's attribute modification_date is affected by the... (diff) | |
download | bugzilla-8222ed65c30f308adc92f2da19e746cb7b22eba2.tar.gz bugzilla-8222ed65c30f308adc92f2da19e746cb7b22eba2.tar.bz2 bugzilla-8222ed65c30f308adc92f2da19e746cb7b22eba2.zip |
Bug 1061247 - Successfully using a password change token should invalidate all other password change tokens for that user
r=gerv a=glob
-rwxr-xr-x | token.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -180,6 +180,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); |