From bbfde13d90d12ef3bcc1c475974d9a6c813f0443 Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Sun, 28 Mar 2010 01:30:21 -0500 Subject: [PATCH] Bug 549814 - "Internal error when using login fields in header/footer after visiting token.cgi URL" [r=mkanat a=mkanat] --- template/en/default/account/auth/login-small.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 710d7d0a53..41c0881d2a 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 %] -- 2.47.2