From 3332faa6b03c8f2edd2e44113a44e2f068705aee Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 27 Sep 2024 15:54:48 +0800 Subject: [PATCH] 1 --- third_party/phpcommon | 2 +- webapp/controller/BaseAuthedController.class.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/third_party/phpcommon b/third_party/phpcommon index cdb9b1af..5979f465 160000 --- a/third_party/phpcommon +++ b/third_party/phpcommon @@ -1 +1 @@ -Subproject commit cdb9b1af750831d5d278f8069d57abf3d19e1c07 +Subproject commit 5979f4656e7d27d8934db06039e9306ff6307a0c diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index a21cba5f..4cf8ff96 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -130,7 +130,8 @@ class BaseAuthedController extends BaseController { } } if (!(myself()->_getChannel() == IMTBL_CHANNEL || - myself()->_getChannel() == GUEST_CHANNEL)) { + myself()->_getChannel() == GUEST_CHANNEL || + myself()->_getChannel() == POLY_CHANNEL)) { phpcommon\sendError(1001, 'session expiration'); die(); }