aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-07 12:14:50 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-07 12:14:50 +0000
commit80bb7715823673e62ba155e7a984c6fa1d8a443d (patch)
tree449b0b0cbf9bdfcf59c8a859a5bc77c0657fc269 /actions/systemsettings
parentaf7149183fb60bdaf73c679d40c4febb2415c0d7 (diff)
downloadelgg-80bb7715823673e62ba155e7a984c6fa1d8a443d.tar.gz
elgg-80bb7715823673e62ba155e7a984c6fa1d8a443d.tar.bz2
Closes #662: https on login.
git-svn-id: https://code.elgg.org/elgg/trunk@2535 36083f99-b078-4883-b0ff-0f9b5a30f544
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))