diff --git a/src/Generators/GenerateSessionKey.php b/src/Generators/GenerateSessionKey.php index aab51d1..d96fab2 100644 --- a/src/Generators/GenerateSessionKey.php +++ b/src/Generators/GenerateSessionKey.php @@ -9,9 +9,6 @@ class GenerateSessionKey { public function __invoke(): string { - // todo: will be improved - // return Auth::check() ? 'user:' . Auth::id() : 'guest:' . uniqid(); - if (Auth::check()) { return 'user:' . Auth::id(); }