From af9115c0f492101359b2c13aa5e64230b034b458 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 31 May 2022 21:08:10 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseAuthedController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index 9feb0fa9..19783d99 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -33,6 +33,9 @@ class BaseAuthedController extends BaseController { die(); } if (!(getReqVal('c', '') == 'User' && getReqVal('a', '') == 'login')) { + if ((getReqVal('c', '') == 'Battle')) { + return; + } $r = $this->_getRedis($this->_getAccountId()); $sessionId = $r->get(LAST_SESSION_KEY . $this->_getAccountId()); if (empty($sessionId)) {