From a9a03e405b9e37fa37e1e07b086e510e746ef71b Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" <> Date: Sun, 13 Mar 2005 05:51:15 +0000 Subject: Bug 83044 - Any page is now capable of being a login page simply by adding the ?GoAheadAndLogin=1 option to the URL. All links have been changed to make index.cgi the default login page instead of query.cgi. r=joel, a=justdave --- Bugzilla/Auth/Login/WWW.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') diff --git a/Bugzilla/Auth/Login/WWW.pm b/Bugzilla/Auth/Login/WWW.pm index cc3ae25e2..f54e5760b 100644 --- a/Bugzilla/Auth/Login/WWW.pm +++ b/Bugzilla/Auth/Login/WWW.pm @@ -51,6 +51,7 @@ sub login { # (double cookies, odd compat code settings, etc) return $user if $user->id; + $type = LOGIN_REQUIRED if Bugzilla->cgi->param('GoAheadAndLogIn'); $type = LOGIN_NORMAL unless defined $type; # Log in using whatever methods are defined in user_info_class. -- cgit v1.2.3-24-g4f1b