http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65042
Revision: 65042 Author: pdhanda Date: 2010-04-14 23:40:26 +0000 (Wed, 14 Apr 2010) Log Message: ----------- Prevent invalid token error message after lost password or nre account creation Modified Paths: -------------- trunk/tools/bugzilla-3.4.4/template/en/custom/account/auth/login-small.html.tmpl Modified: trunk/tools/bugzilla-3.4.4/template/en/custom/account/auth/login-small.html.tmpl =================================================================== --- trunk/tools/bugzilla-3.4.4/template/en/custom/account/auth/login-small.html.tmpl 2010-04-14 21:55:57 UTC (rev 65041) +++ trunk/tools/bugzilla-3.4.4/template/en/custom/account/auth/login-small.html.tmpl 2010-04-14 23:40:26 UTC (rev 65042) @@ -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 || login_target.match('^token.cgi') %] [% login_target = "index.cgi" %] [% END %] _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs