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; }