summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/auth/login-small.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/account/auth/login-small.html.tmpl')
-rw-r--r--template/en/default/account/auth/login-small.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl
index 5868b8671..790c135bf 100644
--- a/template/en/default/account/auth/login-small.html.tmpl
+++ b/template/en/default/account/auth/login-small.html.tmpl
@@ -9,6 +9,9 @@
[%# Use the current script name. If an empty name is returned,
# then we are accessing the home page. %]
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
[% login_target = cgi.url("-relative" => 1, "-query" => 1) %]
[% IF !login_target OR login_target.match("^token.cgi") %]
[% login_target = "index.cgi" %]