From 2e54bd568b18c19e793ef612481d6fdcb28a2d34 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 20 May 2005 06:13:23 +0000 Subject: [PATCH] r168: Renewed the wrong cookie for 1-hour lifespan --- admin/global.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/global.php b/admin/global.php index 1190a65..3e0733c 100755 --- a/admin/global.php +++ b/admin/global.php @@ -81,12 +81,12 @@ if ($_COOKIE[COOKIE_PREFIX . 'adminsession']) else { // renew the cookie - $funct->cookie(COOKIE_PREFIX . 'adminsession', md5(md5($bugsys->userinfo['authkey']) . md5($bugsys->userinfo['email']) . md5($bugsys->userinfo['userid']))); + $funct->cookie(COOKIE_PREFIX . 'adminsession', md5(md5($bugsys->userinfo['authkey']) . md5($bugsys->userinfo['email']) . md5($bugsys->userinfo['userid'])), false); } } else { - $funct->cookie(COOKIE_PREFIX . 'adminsession', '', false); + $funct->cookie(COOKIE_PREFIX . 'adminsession', ''); admin_login(); } } -- 2.43.5