summaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/relogin.cgi b/relogin.cgi
index d2ce053a5..65cb07b25 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -59,7 +59,9 @@ $cgi->send_cookie(-name => "Bugzilla_logincookie",
delete $::COOKIE{"Bugzilla_login"};
$vars->{'message'} = "logged_out";
-$vars->{'user'} = {};
+
+# This entire script should eventually just become a call to Bugzilla->logout
+Bugzilla->logout;
print $cgi->header();
$template->process("global/message.html.tmpl", $vars)