mirror of
https://github.com/v2board/v2board.git
synced 2025-06-16 14:47:48 +08:00
update: auth service
This commit is contained in:
@ -75,4 +75,9 @@ class AuthService
|
||||
$sessions
|
||||
)) return false;
|
||||
}
|
||||
|
||||
public function getSessions()
|
||||
{
|
||||
return (array)Cache::get(CacheKey::get("USER_SESSIONS", $this->user->id), []);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user