Skip to content

Commit

Permalink
Fixes jwt token verification
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed Sep 21, 2023
1 parent 4c256d7 commit 15b4954
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Auth/Guards/JwtGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ public function attempts(array $credentials): bool
*/
public function check(): bool
{
$policier = $this->getPolicier();

$this->token = $policier->getParsedToken();

if (is_null($this->token)) {
return false;
}
Expand Down

0 comments on commit 15b4954

Please sign in to comment.