mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: auth service
This commit is contained in:
parent
3d9416bf26
commit
2f50a0e90f
@ -75,4 +75,9 @@ class AuthService
|
||||
$sessions
|
||||
)) return false;
|
||||
}
|
||||
|
||||
public function getSessions()
|
||||
{
|
||||
return (array)Cache::get(CacheKey::get("USER_SESSIONS", $this->user->id), []);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user