X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=eb778b5ae12d010a248e60a07d91f0d057c8445d;hb=22b38fbbb94e1dacb39e2611f3952707c7b5e685;hp=8f34e59c3f2d26e2ecaccc1b7f9661d9fb096085;hpb=2ee4c67286010daec62b56bdf15f4e839315ac60;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 8f34e59c3f..eb778b5ae1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1586,7 +1586,7 @@ $wgEnableUserEmail = true; /** * Set to true to put the sending user's email in a Reply-To header - * instead of From. ($wgEmergencyContact will be used as From.) + * instead of From. ($wgPasswordSender will be used as From.) * * Some mailers (eg SMTP) set the SMTP envelope sender to the From value, * which can cause problems with SPF validation and leak recipient addresses @@ -5864,7 +5864,7 @@ $wgProxyList = []; /** * Default cookie lifetime, in seconds. Setting to 0 makes all cookies session-only. */ -$wgCookieExpiration = 180 * 86400; +$wgCookieExpiration = 30 * 86400; /** * Default login cookie lifetime, in seconds. Setting @@ -5872,7 +5872,7 @@ $wgCookieExpiration = 180 * 86400; * calculate the cookie lifetime. As with $wgCookieExpiration, 0 will make * login cookies session-only. */ -$wgExtendedLoginCookieExpiration = null; +$wgExtendedLoginCookieExpiration = 180 * 86400; /** * Set to set an explicit domain on the login cookies eg, "justthis.domain.org" @@ -5926,6 +5926,12 @@ $wgCacheVaryCookies = []; */ $wgSessionName = false; +/** + * Whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even + * after logging out and moving to a new IP address, will still be blocked. + */ +$wgCookieSetOnAutoblock = false; + /** @} */ # end of cookie settings } /************************************************************************//** @@ -8382,9 +8388,9 @@ $wgSearchRunSuggestedQuery = true; /** * Where popular password file is located. * - * Default in core contains 50,000 most popular. This config + * Default in core contains 10,000 most popular. This config * allows you to change which file, in case you want to generate - * a password file with > 50000 entries in it. + * a password file with > 10000 entries in it. * * @see maintenance/createCommonPasswordCdb.php * @since 1.27