diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index 4209a9de..2cebd316 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -383,8 +383,10 @@ class UserController extends BaseAuthedController { } $channel = phpcommon\extractChannel($userDb['account_id']); if ($channel != BC_CHANNEL) { - $this->_rspErr(1, 'not found'); - return; + if (SERVER_ENV != _ONLINE) { + $this->_rspErr(1, 'not found'); + return; + } } $this->_rspData(array( 'info' => User::info($userDb)