Jump to content

Podręcznik:$wgExtendedLoginCookies

From mediawiki.org
This page is a translated version of the page Manual:$wgExtendedLoginCookies and the translation is 22% complete.
Identyfikacja: $wgExtendedLoginCookies
Dictates when the extended lifetime login cookies expire.
Wprowadzono w wersji:1.26.0 (Gerrit change 141248; git #16cea35d)
Usunięto w wersji:1.28.0 (Gerrit change 295551; git #04993ace)
Dozwolone wartości:(integer) or null
Domyślna wartość:null

Dictates when the extended lifetime login cookies expire.

Default login cookie lifetime, in seconds. Setting $wgExtendLoginCookieExpiration to null will use $wgCookieExpiration to calculate the cookie lifetime. As with $wgCookieExpiration, 0 will make login cookies session-only.

Przykład

To make login cookies session-only, you can use:

$wgCookieExpiration = 0;