diff options
author | Mario <mario@mariovavti.com> | 2021-04-08 12:38:38 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-08 12:38:38 +0000 |
commit | cf62e07bec8ffe6b9e5c92d56c13ee3cbe06b5bf (patch) | |
tree | f9842fdf61038c023bd6088576f40f893850256c /include/account.php | |
parent | ec4526b5f47af05bc0ffe0bb5f997d3d82b14b5a (diff) | |
download | volse-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 'include/account.php')
-rw-r--r-- | include/account.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php index 7f8a8a2bf..10131c5d4 100644 --- a/include/account.php +++ b/include/account.php @@ -688,7 +688,7 @@ function account_allow($hash) { pop_lang(); - if(get_config('system','auto_channel_create')) + if(get_config('system', 'auto_channel_create', 1)) auto_channel_create($register[0]['uid']); if ($res) { |