From: Reed Loden Date: Sun, 28 Mar 2010 06:30:56 +0000 (-0500) Subject: Bug 549814 - "Internal error when using login fields in header/footer after visiting... X-Git-Tag: bugzilla-3.4.7~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8926e7e138b1f2a2856252284d9f41a61e89fe2e;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 752aa64df0..c895565ab9 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 %]