Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
n1crack committed Nov 22, 2023
1 parent 7499943 commit 338629b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Generators/GenerateSessionKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 338629b

Please sign in to comment.