fix: Session에서 로그인 정보를 세심히.

This commit is contained in:
2023-08-05 08:47:45 +00:00
parent eccd883edc
commit 57b12e8c04
+3
View File
@@ -234,6 +234,8 @@ class Session
$serverID = UniqueConst::$serverID;
$globalLoginDate = $this->get('time');
$loginDate = $this->get($serverID.static::GAME_KEY_DATE);
$generalID = $this->get($serverID.static::GAME_KEY_GENERAL_ID);
$generalName = $this->get($serverID.static::GAME_KEY_GENERAL_NAME);
@@ -241,6 +243,7 @@ class Session
$now = time();
if (
$globalLoginDate < $loginDate &&
$generalID && $generalName && $loginDate && $deadTime
&& $loginDate + 1800 > $now && $deadTime > $now
) {