aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings
diff options
context:
space:
mode:
Diffstat (limited to 'actions/systemsettings')
-rw-r--r--actions/systemsettings/install.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index 25846d6f1..3ea4e117e 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -78,7 +78,12 @@
unset_config('disable_api', $site->getGUID());
else
set_config('disable_api', 'disabled', $site->getGUID());
-
+
+ $https_login = get_input('https_login');
+ if ($https_login)
+ set_config('https_login', 1, $site->getGUID());
+ else
+ unset_config('https_login', $site->getGUID());
// activate some plugins by default
if (isset($CONFIG->default_plugins))