From 6e94e5248b6c5f57ea49a347f35e24fffcf0f1e7 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 24 Nov 2022 10:31:45 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseAuthedController.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index 1b902984..7c4efcf9 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -63,6 +63,10 @@ class BaseAuthedController extends BaseController { phpcommon\sendError(1003, 'session expiration'); die(); }*/ + if (phpcommon\cmpVersion(getReqVal('_version', ''), '0.2.0') > 0) { + phpcommon\sendError(1002, ''); + die(); + } } protected function updateSession($accountId, $sessionId)