From 80bb7715823673e62ba155e7a984c6fa1d8a443d Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 7 Jan 2009 12:14:50 +0000 Subject: Closes #662: https on login. git-svn-id: https://code.elgg.org/elgg/trunk@2535 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/systemsettings/install.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'actions/systemsettings/install.php') 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)) -- cgit v1.2.3