diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index 58bb676e..087c8d8a 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -58,6 +58,15 @@ class BaseAuthedController extends BaseController { public function _handlePre() { +// if (SERVER_ENV == _ONLINE) { +// if (getReqVal('client_uuid', '') != '499af8a0-a1bc-0b0e-dc79-a42cb3f103dc') { +// if ((getReqVal('c', '') != 'Battle')) { +// phpcommon\sendError(1001, 'session expiration'); +// die(); +// } +// } +// } + $this->accountId = getReqVal('account_id', ''); $this->sessionId = getReqVal('session_id', ''); if (!phpcommon\isValidSessionId($this->accountId, diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index 5ec55eb4..627e8af4 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -163,6 +163,7 @@ class UserController extends BaseAuthedController { $this->_addItems($addItems, $awardService, $propertyChgService); } + private function loginCheck($userInfo) { $seasonService = new services\SeasonService();