aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/account/login_box.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core/account/login_box.php')
-rw-r--r--views/default/core/account/login_box.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/core/account/login_box.php b/views/default/core/account/login_box.php
index 0dee72328..a371ab0c8 100644
--- a/views/default/core/account/login_box.php
+++ b/views/default/core/account/login_box.php
@@ -9,7 +9,7 @@
$form_body = elgg_view('forms/login');
$login_url = elgg_get_site_url();
-if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) {
+if (elgg_get_config('https_login')) {
$login_url = str_replace("http:", "https:", $login_url);
}
?>