aboutsummaryrefslogtreecommitdiffstats
path: root/identification.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-20 02:17:53 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-20 02:17:53 +0000
commiteaacbc7b2d224524eac6def04e9b721949afd4b8 (patch)
tree76fd94a28037ffc5ff5bafa037e411c0306ea4f0 /identification.php
parentdbadd4defb870c09664ea4178951d72f5d2ada3b (diff)
- put back config['session_length'] disappeared in r1493 but has always been
used in the code (generates mysql errors on session garbage collector) - fix auto_login (die mysql when session timed out, but user has remember) - when a user reconnects from identification.php, the remember cookie was not deleted - fix all redirect warnings/errors (many changes - mainly in common.inc.php and user.inc.php) - reduced $conf['remember_me_length'] to 60 days, because now at each auto login the 60 days countdown restarts git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'identification.php')
-rw-r--r--identification.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/identification.php b/identification.php
index d37434682..a1a60ec08 100644
--- a/identification.php
+++ b/identification.php
@@ -72,10 +72,7 @@ SELECT '.$conf['user_fields']['id'].' AS id,
array_push( $errors, $lang['invalid_pwd'] );
}
}
-elseif (!empty($_COOKIE[$conf['remember_me_name']]))
-{
- auto_login();
-}
+
//----------------------------------------------------- template initialization
//
// Start output of page