1
This commit is contained in:
parent
e04a6393ac
commit
92c54b205a
2
third_party/phpcommon
vendored
2
third_party/phpcommon
vendored
@ -1 +1 @@
|
||||
Subproject commit 1bc1d261d292213dd1d93a98bd3afd8edbf9c24e
|
||||
Subproject commit 848e05c01f44622e52996bb04dfb6b344acce1b8
|
@ -50,6 +50,13 @@ class BaseAuthedController extends BaseController {
|
||||
die();
|
||||
}
|
||||
}
|
||||
if (SERVER_ENV == _ONLINE) {
|
||||
$sessionTime = phpcommon\extractSessionTimeFromSessionId($this->_getSessionId());
|
||||
if ($sessionTime < 1656070773) {
|
||||
phpcommon\sendError(1001, 'session expiration');
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function updateSession($accountId, $sessionId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user