From: csteipp Date: Fri, 27 Sep 2013 20:39:50 +0000 (-0700) Subject: Redirect to https for signup X-Git-Tag: 1.31.0-rc.0~18644^2 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=20faf1fdada394b89858e679225c3da9796e3d28;p=lhc%2Fweb%2Fwiklou.git Redirect to https for signup Redirect to https for most user, since they will be sending their password with their signup request. GeoIP prevention of the redirect is still respected. Bug: 53651 Change-Id: I12646fcd268c78fd446c6dbf2ba201eee3846444 --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 48bef9d826..a68efc40b6 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -168,10 +168,7 @@ class LoginForm extends SpecialPage { // If logging in and not on HTTPS, either redirect to it or offer a link. global $wgSecureLogin; - if ( - $this->mType !== 'signup' && - WebRequest::detectProtocol() !== 'https' - ) { + if ( WebRequest::detectProtocol() !== 'https' ) { $title = $this->getFullTitle(); $query = array( 'returnto' => $this->mReturnTo,