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