diff --git a/app/Services/AuthService.php b/app/Services/AuthService.php index 1e28ed13..09ceee7f 100644 --- a/app/Services/AuthService.php +++ b/app/Services/AuthService.php @@ -75,4 +75,9 @@ class AuthService $sessions )) return false; } + + public function getSessions() + { + return (array)Cache::get(CacheKey::get("USER_SESSIONS", $this->user->id), []); + } }