diff options
author | nikrou <nikrou@piwigo.org> | 2006-07-24 15:49:16 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-07-24 15:49:16 +0000 |
commit | f1129e48b3616306be5cfd6b6056773c4e49c249 (patch) | |
tree | 3526fd9bb8bdd24066eeba890a396fd972d521a8 | |
parent | 5d06d4354144066a39bca1c28b7a326b2de5283c (diff) |
small improvement (related to bug 451): incorrect auto_login_key
dont delete key in users table but just delete remember_me cookie
git-svn-id: http://piwigo.org/svn/trunk@1494 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | identification.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/identification.php b/identification.php index eba8834c0..192511ac2 100644 --- a/identification.php +++ b/identification.php @@ -88,13 +88,6 @@ SELECT auto_login_key } else { - // Hacking attempt! - $query = ' -UPDATE '.USERS_TABLE.' - SET auto_login_key=\''.$auto_login_key.'\' - WHERE '.$conf['user_fields']['id'].' = '.$user_id.' -;'; - pwg_query($query); setcookie($conf['remember_me_name'], '', 0, cookie_path()); redirect(empty($redirect_to) ? make_index_url() : $redirect_to); } |