Skip to content

Commit

Permalink
Item13897: render zones in the Login page.
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Aug 14, 2016
1 parent fdbb1c2 commit 6fd129f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/Foswiki/App.pm
Expand Up @@ -1220,6 +1220,8 @@ $contentType is text/plain.
sub writeCompletePage {
my ( $this, $text, $pageType, $contentType ) = @_;

print STDERR "writeCompletePage entered\n";

# true if the body is to be output without encoding to utf8
# first. This is the case if the body has been gzipped and/or
# rendered from the cache
Expand Down
4 changes: 4 additions & 0 deletions core/lib/Foswiki/LoginManager/TemplateLogin.pm
Expand Up @@ -343,6 +343,10 @@ sub login {
$tmpl = $topicObject->expandMacros($tmpl);
$tmpl = $topicObject->renderTML($tmpl);
$tmpl =~ s/<nop>//g;
if ( $app->zones ) {

$tmpl = $app->zones->_renderZones($tmpl);
}
$res->body($tmpl);
}

Expand Down

0 comments on commit 6fd129f

Please sign in to comment.