diff options
author | jake%bugzilla.org <> | 2005-03-13 05:51:15 +0000 |
---|---|---|
committer | jake%bugzilla.org <> | 2005-03-13 05:51:15 +0000 |
commit | a9a03e405b9e37fa37e1e07b086e510e746ef71b (patch) | |
tree | cc127d018556a44cd67b4c29b9fabee4dd34be0c /Bugzilla/Auth/Login/WWW.pm | |
parent | 2de4d83174d36d6a2258233b28a3224da1c1c5a7 (diff) | |
download | bugs-a9a03e405b9e37fa37e1e07b086e510e746ef71b.tar bugs-a9a03e405b9e37fa37e1e07b086e510e746ef71b.tar.gz bugs-a9a03e405b9e37fa37e1e07b086e510e746ef71b.tar.bz2 bugs-a9a03e405b9e37fa37e1e07b086e510e746ef71b.tar.xz bugs-a9a03e405b9e37fa37e1e07b086e510e746ef71b.zip |
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/Login/WWW.pm')
-rw-r--r-- | Bugzilla/Auth/Login/WWW.pm | 1 |
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. |