Manual:$wgSecureLogin

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgSecureLogin and the translation is 44% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎português • ‎سنڌي • ‎中文 • ‎日本語 • ‎한국어
Páginas especiais: $wgSecureLogin
Whether to let user authenticate using https when they come from http.
Introduzida na versão:1.17.0 (r75585)
Removida na versão:ainda em uso
Valores permitidos:(booliano)
Valor por omissão:false
Outras configurações: Lista Alfabética | Lista por Função

Detalhes

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).

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.

You will need to set $wgServer as following.

MediaWiki version: 1.17
$wgServer           = "//replacethisexample.com";
$wgSecureLogin      = true;

Ver também