diff options
Diffstat (limited to 'actions/login.php')
-rw-r--r-- | actions/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php index ea9b96a46..8694de188 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; |