aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/site
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/admin/site
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/admin/site')
-rw-r--r--actions/admin/site/update_basic.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index 5710e63b9..c29fdd044 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -45,6 +45,12 @@
else
unset_config('debug', $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());
+
$usage = get_input('usage');
if ($usage)
unset_config('ping_home', $site->getGUID());