From 338629b3d2903a9b3cc54b08f622d0cfef0c790c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C3=96zdemir?= Date: Wed, 22 Nov 2023 20:23:09 +0300 Subject: [PATCH] cleanup --- src/Generators/GenerateSessionKey.php | 3 --- 1 file changed, 3 deletions(-) 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(); }