aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-10 08:33:04 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-10 08:33:04 +0000
commit7b3d87e6d4ec5cc849952fd6461d627bcdba8654 (patch)
treecc01615f12f5372257b378a156352d8457d0714a /views
parent2ce3218f57060f33088ac146a3ed662b240ccc39 (diff)
downloadelgg-7b3d87e6d4ec5cc849952fd6461d627bcdba8654.tar.gz
elgg-7b3d87e6d4ec5cc849952fd6461d627bcdba8654.tar.bz2
Prevent "https login" from breaking login on sites that are https by default
git-svn-id: http://code.elgg.org/elgg/trunk@7279 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-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 0f06720f3..4942afb09 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:", elgg_get_site_url());
}
?>