summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Cookie.pm
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-03-27 10:31:00 +0100
committerkiko%async.com.br <>2004-03-27 10:31:00 +0100
commit3374c87eb2788ca2427061df9e63167846c80b1d (patch)
treedd610614beb968997ae9182b5369dc7a16605845 /Bugzilla/Auth/Cookie.pm
parent8a06f991edf359f9ffeb53cc57173023c44d9644 (diff)
downloadbugzilla-3374c87eb2788ca2427061df9e63167846c80b1d.tar.gz
bugzilla-3374c87eb2788ca2427061df9e63167846c80b1d.tar.xz
Fix for bug 226754: Move InvalidateLogins into Bugzilla::Auth::CGI. Consolidates the logout code into Bugzilla::Auth::CGI, and provides
simple front-end wrappers in Bugzilla.pm for use in the CGIs we have. r=bbaetz, joel; a=justdave. Adds a set of constants to the logout() API which allow specifying "how much" we should log out -- all sessions, the current session, or all sessions but the current one. Fixes callsites to use this new API; cleans and documents things a bit while we're at it. Part I in the great COOKIE apocalypse.
Diffstat (limited to 'Bugzilla/Auth/Cookie.pm')
-rw-r--r--Bugzilla/Auth/Cookie.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/Bugzilla/Auth/Cookie.pm b/Bugzilla/Auth/Cookie.pm
index 7dd2967fb..b50acbe24 100644
--- a/Bugzilla/Auth/Cookie.pm
+++ b/Bugzilla/Auth/Cookie.pm
@@ -80,10 +80,6 @@ sub authenticate {
undef,
$login_cookie);
- # compat code. The cookie value is used for logouts, and that
- # isn't generic yet. Detaint it so that its usable
- detaint_natural($::COOKIE{'Bugzilla_logincookie'});
-
return (AUTH_OK, $userid);
}