summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth
diff options
context:
space:
mode:
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)