Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -1042,7 +1042,7 @@ |
1043 | 1043 | |
1044 | 1044 | // Use loginend-https for HTTPS requests if it's not blank, loginend otherwise |
1045 | 1045 | // Ditto for signupend |
1046 | | - $usingHTTPS = WebRequest::detectProtocol(); |
| 1046 | + $usingHTTPS = WebRequest::detectProtocol() == 'https'; |
1047 | 1047 | $loginendHTTPS = wfMessage( 'loginend-https' ); |
1048 | 1048 | $signupendHTTPS = wfMessage( 'signupend-https' ); |
1049 | 1049 | if ( $usingHTTPS && !$loginendHTTPS->isBlank() ) { |