From 12054422941d94cf406836025a1410e130dbe4bb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 25 Nov 2005 06:11:22 +0000 Subject: [PATCH] r593: Admin login when we have an invalid session --- admin/global.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/global.php b/admin/global.php index 86895a9..4f78096 100755 --- a/admin/global.php +++ b/admin/global.php @@ -83,6 +83,8 @@ if ($_COOKIE[COOKIE_PREFIX . 'adminsession']) if (md5(md5($bugsys->userinfo['authkey']) . md5(gmdate('F j, Y @ H'))) != $_COOKIE[COOKIE_PREFIX . 'adminsession']) { $funct->cookie(COOKIE_PREFIX . 'adminsession', ''); + admin_login(); + // do we need this message? $admin->error($lang->string('Invalid admin session has been terminated.')); } else -- 2.43.5