1
This commit is contained in:
commit
b9c133041d
@ -33,6 +33,9 @@ class BaseAuthedController extends BaseController {
|
|||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
if (!(getReqVal('c', '') == 'User' && getReqVal('a', '') == 'login')) {
|
if (!(getReqVal('c', '') == 'User' && getReqVal('a', '') == 'login')) {
|
||||||
|
if ((getReqVal('c', '') == 'Battle')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
$r = $this->_getRedis($this->_getAccountId());
|
$r = $this->_getRedis($this->_getAccountId());
|
||||||
$sessionId = $r->get(LAST_SESSION_KEY . $this->_getAccountId());
|
$sessionId = $r->get(LAST_SESSION_KEY . $this->_getAccountId());
|
||||||
if (empty($sessionId)) {
|
if (empty($sessionId)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user