aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/home.php b/mod/home.php
index d17d477c8..edcaa938d 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -78,6 +78,7 @@ require_once('include/conversation.php');
$o .= file_get_contents('home.html');
}
+ if (!$a->config['system']['no_login_on_homepage'])
$o .= login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
call_hooks("home_content",$o);