1
This commit is contained in:
commit
26e422ccf2
@ -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,
|
||||
|
@ -163,6 +163,7 @@ class UserController extends BaseAuthedController {
|
||||
$this->_addItems($addItems, $awardService, $propertyChgService);
|
||||
}
|
||||
|
||||
|
||||
private function loginCheck($userInfo)
|
||||
{
|
||||
$seasonService = new services\SeasonService();
|
||||
|
Loading…
x
Reference in New Issue
Block a user