summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/account/auth/login-small.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl
index 710d7d0a5..41c0881d2 100644
--- a/template/en/default/account/auth/login-small.html.tmpl
+++ b/template/en/default/account/auth/login-small.html.tmpl
@@ -24,7 +24,7 @@
# then we are accessing the home page. %]
[% login_target = cgi.url("-relative" => 1, "-query" => 1) %]
-[% IF !login_target %]
+[% IF !login_target OR login_target.match("^token.cgi") %]
[% login_target = "index.cgi" %]
[% END %]