summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2005-03-13 06:51:15 +0100
committerjake%bugzilla.org <>2005-03-13 06:51:15 +0100
commita9a03e405b9e37fa37e1e07b086e510e746ef71b (patch)
treecc127d018556a44cd67b4c29b9fabee4dd34be0c /Bugzilla/Auth
parent2de4d83174d36d6a2258233b28a3224da1c1c5a7 (diff)
downloadbugzilla-a9a03e405b9e37fa37e1e07b086e510e746ef71b.tar.gz
bugzilla-a9a03e405b9e37fa37e1e07b086e510e746ef71b.tar.xz
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
Diffstat (limited to 'Bugzilla/Auth')
-rw-r--r--Bugzilla/Auth/Login/WWW.pm1
1 files changed, 1 insertions, 0 deletions
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.