Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
9a48b40e
Commit
9a48b40e
authored
Feb 24, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 126791 - templatise relogin.cgi
parent
de044355
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
relogin.cgi
relogin.cgi
+14
-11
No files found.
relogin.cgi
View file @
9a48b40e
...
...
@@ -19,11 +19,13 @@
# Rights Reserved.
#
# Contributor(s): Terry Weissman <terry@mozilla.org>
# Gervase Markham <gerv@gerv.net>
use
diagnostics
;
use
strict
;
use
vars
%::
COOKIE
;
use
vars
qw($template $vars)
;
use
lib
qw(.)
;
...
...
@@ -51,23 +53,24 @@ if ($::userid) {
my
$cookiepath
=
Param
(
"cookiepath"
);
print
"Set-Cookie: Bugzilla_login= ; path=$cookiepath; expires=Sun, 30-Jun-80 00:00:00 GMT
Set-Cookie: Bugzilla_logincookie= ; path=$cookiepath; expires=Sun, 30-Jun-80 00:00:00 GMT
Content-type: text/html
"
;
# delete the cookie before dumping the header so that it shows the user
# as logged out if %commandmenu% is in the header
delete
$::COOKIE
{
"Bugzilla_login"
};
PutHeader
(
"Relogin"
);
print
"<B>Your login has been forgotten</B>.</P>
The cookie that was remembering your login is now gone. The next time you
do an action that requires a login, you will be prompted for it.
<p>
"
;
PutFooter
();
$vars
->
{
'title'
}
=
"Logged Out"
;
$vars
->
{
'message'
}
=
"<b>Your login has been forgotten</b>.
The cookie that was remembering your login is
now gone. You will be prompted for a login the
next time it is required."
;
$vars
->
{
'url'
}
=
"query.cgi?GoAheadAndLogIn=1"
;
$vars
->
{
'link'
}
=
"Log in again here"
;
print
"Content-Type: text/html\n\n"
;
$template
->
process
(
"global/message.html.tmpl"
,
$vars
)
||
DisplayError
(
"Template process failed: "
.
$template
->
error
())
&&
exit
;
exit
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment