update: auth service

This commit is contained in:
tokumeikoi 2022-12-15 16:05:31 +08:00
parent 3d9416bf26
commit 2f50a0e90f

View File

@ -75,4 +75,9 @@ class AuthService
$sessions
)) return false;
}
public function getSessions()
{
return (array)Cache::get(CacheKey::get("USER_SESSIONS", $this->user->id), []);
}
}