diff -r 414e01d06fd5 -r e2915a7cbdfa lib/TWiki/LoginManager/TemplateLogin.pm --- a/lib/TWiki/LoginManager/TemplateLogin.pm Sat Jan 26 15:50:53 2008 +0100 +++ b/lib/TWiki/LoginManager/TemplateLogin.pm Mon Aug 11 20:30:19 2008 +0200 @@ -185,13 +185,14 @@ # TODO: add JavaScript password encryption in the template # to use a template) $origurl ||= ''; - $twiki->{prefs}->pushPreferenceValues('SESSION', {ORIGURL=>$origurl, BANNER=>$banner, NOTE=>$note, ERROR=>$error}); + $twiki->{prefs}->pushPreferenceValues( + 'SESSION', + {ORIGURL=>$origurl, BANNER=>$banner, NOTE=>$note, ERROR=>$error}); $tmpl = $twiki->handleCommonTags( $tmpl, $web, $topic ); $tmpl = $twiki->renderer->getRenderedVersion( $tmpl, '' ); $tmpl =~ s///g; - print $twiki->generateHTTPHeaders( $query ); - print $tmpl; + $twiki->writeCompletePage($tmpl); } 1;