1
This commit is contained in:
parent
7b1b322b3e
commit
6969c335a8
@ -48,10 +48,12 @@ class BaseAuthedController extends BaseController {
|
||||
|
||||
public function _handlePre()
|
||||
{
|
||||
if (getReqVal('client_uuid', '') != '499af8a0-a1bc-0b0e-dc79-a42cb3f103dc') {
|
||||
if ((getReqVal('c', '') != 'Battle')) {
|
||||
phpcommon\sendError(1001, 'session expiration');
|
||||
die();
|
||||
if (SERVER_ENV == _ONLINE) {
|
||||
if (getReqVal('client_uuid', '') != '499af8a0-a1bc-0b0e-dc79-a42cb3f103dc') {
|
||||
if ((getReqVal('c', '') != 'Battle')) {
|
||||
phpcommon\sendError(1001, 'session expiration');
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -152,6 +152,7 @@ class UserController extends BaseAuthedController {
|
||||
$awardService = new services\AwardService();
|
||||
$propertyChgService = new services\PropertyChgService();
|
||||
$this->_addItems($items, $awardService, $propertyChgService);
|
||||
$this->_addItems($addItems, $awardService, $propertyChgService);
|
||||
}
|
||||
|
||||
private function loginCheck($userInfo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user