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