From 5d06d4354144066a39bca1c28b7a326b2de5283c Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 23 Jul 2006 15:25:49 +0000 Subject: bug 451 fixed: problem with auto login - add an auto_login_key in users_table - $conf['session_length'] is no more useful and sessions length will be 0 (until browser closed) - add $conf['remember_me_name'] for cookie remember name git-svn-id: http://piwigo.org/svn/trunk@1493 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/config_default.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/config_default.inc.php') diff --git a/include/config_default.inc.php b/include/config_default.inc.php index c4c4bdb4d..0fb9eef43 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -312,13 +312,13 @@ $conf['session_save_handler'] = 'db'; // creates a cookie on client side. $conf['authorize_remembering'] = true; +// remember_me_name: specifies the name of the cookie used to stay logged +$conf['remember_me_name'] = 'pwg_remember'; + // remember_me_length : time of validity for "remember me" cookies, in // seconds. $conf['remember_me_length'] = 31536000; -// session_length : time of validity for normal session, in seconds. -$conf['session_length'] = 3600; - // +-----------------------------------------------------------------------+ // | debug | // +-----------------------------------------------------------------------+ -- cgit v1.2.3