From: Reed Loden Date: Sun, 28 Mar 2010 06:30:21 +0000 (-0500) Subject: Bug 549814 - "Internal error when using login fields in header/footer after visiting... X-Git-Tag: bugzilla-3.6~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbfde13d90d12ef3bcc1c475974d9a6c813f0443;p=thirdparty%2Fbugzilla.git Bug 549814 - "Internal error when using login fields in header/footer after visiting token.cgi URL" [r=mkanat a=mkanat] --- 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 %]