aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin/Site.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-08 12:38:38 +0000
committerMario <mario@mariovavti.com>2021-04-08 12:38:38 +0000
commitcf62e07bec8ffe6b9e5c92d56c13ee3cbe06b5bf (patch)
treef9842fdf61038c023bd6088576f40f893850256c /Zotlabs/Module/Admin/Site.php
parentec4526b5f47af05bc0ffe0bb5f997d3d82b14b5a (diff)
downloadvolse-hubzilla-cf62e07bec8ffe6b9e5c92d56c13ee3cbe06b5bf.tar.gz
volse-hubzilla-cf62e07bec8ffe6b9e5c92d56c13ee3cbe06b5bf.tar.bz2
volse-hubzilla-cf62e07bec8ffe6b9e5c92d56c13ee3cbe06b5bf.zip
register: default to auto-create channel and fix auto create channel if register approval is configured
Diffstat (limited to 'Zotlabs/Module/Admin/Site.php')
-rw-r--r--Zotlabs/Module/Admin/Site.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Admin/Site.php b/Zotlabs/Module/Admin/Site.php
index 87226295b..73c24897f 100644
--- a/Zotlabs/Module/Admin/Site.php
+++ b/Zotlabs/Module/Admin/Site.php
@@ -491,7 +491,7 @@ class Site {
'$reg_expire'=>$reg_expire,
'$reg_autochannel' => array('auto_channel_create',
t("Auto channel create"),
- get_config('system','auto_channel_create'),
+ get_config('system','auto_channel_create', 1),
t("Auto create a channel when register a new account. When On, the register form will show additional fields for the channel-name and the nickname."),
"", "", 'ZAR0870C'),