From 4490c2d62eff6e8fb325af7cb02fe0f5bf78fcb1 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 23 Nov 2022 16:29:51 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseAuthedController.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index 5441cb9c..97dd4def 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -59,13 +59,6 @@ class BaseAuthedController extends BaseController { die(); } } - if (SERVER_ENV == _ONLINE) { - $sessionTime = phpcommon\extractSessionTimeFromSessionId($this->_getSessionId()); - if ($sessionTime < 1656070773) { - phpcommon\sendError(1001, 'session expiration'); - die(); - } - } } protected function updateSession($accountId, $sessionId)