Skip to content

Commit

Permalink
abstract methoid added
Browse files Browse the repository at this point in the history
  • Loading branch information
Djuki committed Oct 16, 2023
1 parent 066bf80 commit 3281315
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Guard/SentryBridgeGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,9 @@ public function login($user)
return Sentry::loginAndRemember($user);
}

public function hasUser()
{
auth()->user() ? true : false;
}

}

0 comments on commit 3281315

Please sign in to comment.