summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-06-07 12:36:43 +0200
committerbbaetz%acm.org <>2003-06-07 12:36:43 +0200
commitf32800e0c6b377a253c01454ce6b1b6a9b45eeb8 (patch)
treeb1903ac2c0d63b253d682d20887426a14ca741bb /Bugzilla/Auth
parent1d057f02b277d29ad4d232d598c49b0344798b40 (diff)
downloadbugzilla-f32800e0c6b377a253c01454ce6b1b6a9b45eeb8.tar.gz
bugzilla-f32800e0c6b377a253c01454ce6b1b6a9b45eeb8.tar.xz
Bug 205463 - Tokens aren't canceled after a successful login.
patch by 'Randall M! Gee', r=bbaetz, a=justdave
Diffstat (limited to 'Bugzilla/Auth')
-rw-r--r--Bugzilla/Auth/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/DB.pm b/Bugzilla/Auth/DB.pm
index 55e4bc7c0..ffc49fbf7 100644
--- a/Bugzilla/Auth/DB.pm
+++ b/Bugzilla/Auth/DB.pm
@@ -71,7 +71,7 @@ sub authenticate {
# Now we know that the user has logged in successfully,
# so delete any password tokens for them
require Token;
- Token::DeletePasswordTokens("user logged in");
+ Token::DeletePasswordTokens($userid, "user_logged_in");
# The user may have had their account disabled
return (AUTH_DISABLED, $userid, $disabledtext)