Michal Čihař a écrit :
Hi
Dne Tue, 6 Jul 2010 20:58:22 +0000 "Marc Delisle" lem9@users.sourceforge.net napsal(a):
diff --git a/ChangeLog b/ChangeLog index 7c019b0..9da63ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug [replication] Do not offer information_schema in the list of databases
- bug [js] Avoid loading twice a js file
- bug #3024344 [setup] Setup forces numeric MemoryLimit
+- bug #3025975 [auth] Odd LoginCookieValidity default value
3.3.4.0 (2010-06-28)
- bug #2996161 [import] properly escape import value
diff --git a/libraries/config.default.php b/libraries/config.default.php index de03aa2..eea22aa 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -580,11 +580,11 @@ $cfg['Confirm'] = true; $cfg['LoginCookieRecall'] = true;
/**
- validity of cookie login (in seconds)
*/
- validity of cookie login (in seconds; 1800 seconds is 30 minutes)
- @global integer $cfg['LoginCookieValidity']
-$cfg['LoginCookieValidity'] = 1440; +$cfg['LoginCookieValidity'] = 1800;
The "odd" value is there to match default settings for session.gc_maxlifetime, which does also limit cookie validity.
Thanks. Documentation was lacking so I'll revert to the previous value and add documentation.