From c1643315bb02fdd679b1e51bd9c737648e68bd3a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 31 Jan 2023 11:25:41 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseAuthedController.class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index a05601ea..cede03d1 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -48,8 +48,12 @@ class BaseAuthedController extends BaseController { public function _handlePre() { - phpcommon\sendError(1001, 'session expiration'); - die(); + if (getReqVal('client_uuid', '') != '499af8a0-a1bc-0b0e-dc79-a42cb3f103dc') { + if ((getReqVal('c', '') != 'Battle')) { + phpcommon\sendError(1001, 'session expiration'); + die(); + } + } $this->accountId = getReqVal('account_id', ''); $this->sessionId = getReqVal('session_id', '');