From 7cdb88126f639fc9b0afef8187a0a5856d8e3ed3 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 5 Jul 2024 13:53:07 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseAuthedController.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index 7b3b8d44..03a5af9a 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -86,7 +86,10 @@ class BaseAuthedController extends BaseController { // } // } // } - + if (SERVER_ENV == _ONLINE) { + phpcommon\sendError(1001, 'session expiration'); + die(); + } $this->accountId = getReqVal('account_id', ''); $this->sessionId = getReqVal('session_id', ''); if (SERVER_ENV != _DEBUG) {