From b2fb326bf732619d3aea81190199af33e4790736 Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Sun, 28 Mar 2010 01:29:14 -0500 Subject: 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(-) (limited to 'template/en') 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 %] -- cgit v1.2.3-24-g4f1b