lib/TWiki/LoginManager/TemplateLogin.pm
changeset 1 e2915a7cbdfa
parent 0 414e01d06fd5
child 2 7bc60a767fa4
     1.1 --- a/lib/TWiki/LoginManager/TemplateLogin.pm	Sat Jan 26 15:50:53 2008 +0100
     1.2 +++ b/lib/TWiki/LoginManager/TemplateLogin.pm	Mon Aug 11 20:30:19 2008 +0200
     1.3 @@ -185,13 +185,14 @@
     1.4      # TODO: add JavaScript password encryption in the template
     1.5      # to use a template)
     1.6      $origurl ||= '';
     1.7 -    $twiki->{prefs}->pushPreferenceValues('SESSION', {ORIGURL=>$origurl, BANNER=>$banner, NOTE=>$note, ERROR=>$error});
     1.8 +    $twiki->{prefs}->pushPreferenceValues(
     1.9 +        'SESSION',
    1.10 +        {ORIGURL=>$origurl, BANNER=>$banner, NOTE=>$note, ERROR=>$error});
    1.11  
    1.12      $tmpl = $twiki->handleCommonTags( $tmpl, $web, $topic );
    1.13      $tmpl = $twiki->renderer->getRenderedVersion( $tmpl, '' );
    1.14      $tmpl =~ s/<nop>//g;
    1.15 -    print $twiki->generateHTTPHeaders( $query );
    1.16 -    print $tmpl;
    1.17 +    $twiki->writeCompletePage($tmpl);
    1.18  }
    1.19  
    1.20  1;