From a35bf227fb202f05a2c917c020b3ffd2c52445d3 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 7 Mar 2014 20:57:33 +0100 Subject: [PATCH] Site profile "community" should be invite-only by default Because if you have your own local/closed community, likely you don't want random newcomers that drop in, spam and leave dead accounts. The Admin can of course always override this by setting the config "inviteonly" to false either in the config.php or on the website. --- lib/siteprofile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/siteprofile.php b/lib/siteprofile.php index ae32acdf76..ccbac76af1 100644 --- a/lib/siteprofile.php +++ b/lib/siteprofile.php @@ -191,6 +191,7 @@ class CommunitySite extends SiteProfileSettings 'site' => array_merge( $config['site'], array( 'private' => false, + 'inviteonly' => true, 'closed' => false ) ), -- 2.39.5