From 3374c87eb2788ca2427061df9e63167846c80b1d Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Sat, 27 Mar 2004 09:31:00 +0000 Subject: 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. --- Bugzilla/Auth/Cookie.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Bugzilla/Auth/Cookie.pm') 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); } -- cgit v1.2.3-24-g4f1b