From 8c6ec0b59ef282c5b2910689255b52de99d477a2 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 10 Jan 2010 00:23:26 -0800 Subject: [PATCH] fix check for ssl diff in login --- actions/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/login.php b/actions/login.php index ea9b96a46b..8694de188e 100644 --- a/actions/login.php +++ b/actions/login.php @@ -132,7 +132,7 @@ class LoginAction extends Action $url = common_get_returnto(); - if (common_config('ssl', 'sometimes') && // mixed environment + if (common_config('site', 'ssl') == 'sometimes' && // mixed environment 0 != strcasecmp(common_config('site', 'server'), common_config('site', 'sslserver'))) { $this->redirectFromSSL($user, $url, $this->boolean('rememberme')); return; -- 2.39.5