From acf7ca289730fc385cb642657e581136ee2759a6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 25 May 2022 23:21:18 +0800 Subject: [PATCH] 1 --- webapp/controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index 2cebd316..95aceaa1 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -383,7 +383,7 @@ class UserController extends BaseAuthedController { } $channel = phpcommon\extractChannel($userDb['account_id']); if ($channel != BC_CHANNEL) { - if (SERVER_ENV != _ONLINE) { + if (SERVER_ENV == _ONLINE) { $this->_rspErr(1, 'not found'); return; }