From: Evan Prodromou Date: Sun, 10 Jan 2010 08:23:26 +0000 (-0800) Subject: fix check for ssl diff in login X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8c6ec0b59ef282c5b2910689255b52de99d477a2;p=quix0rs-gnu-social.git fix check for ssl diff in login --- 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;