Jump to content


From mediawiki.org
This page is a translated version of the page Manual:$wgSecureLogin and the translation is 36% complete.
Authentication: $wgSecureLogin
Whether to let user authenticate using https when they come from http.
이 변수가 소개된 버전:1.17.0 (r75585)
이 변수가 사라진 버전:계속해서 쓰이고 있음


If true, forces users to authenticate using https when they come from http, but only if you use a protocol-relative URL in $wgServer (otherwise this setting is ignored). Note also that under certain circumstances, when serving http and https in parallel on a web server, specifying http within a browser's location and adding the fromhttp=1 query parameter, the login page will be downgraded from https to http, even when $wgSecureLogin is set to true. A link will then display above the username field allowing a user to choose the secure login option.

From 1.22 on, use $wgDefaultUserOptions to set prefershttps false by default if you want HTTP users to stay on HTTP after login by default.

Based on an idea by George Herbert on wikitech-l: mailarchive:wikitech-l/2010-October/050071.html.

당신은 $wgServer를 세틸할 필요가 있습니다.

미디어위키 버전:
$wgServer           = "//replacethisexample.com";
$wgSecureLogin      = true;

같이 보기