Skip to content

Commit

Permalink
fix: Remove redundant token verification step
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Nov 25, 2023
1 parent 21609c7 commit 4f300b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Token/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public function verify(
$signature = $this->getSignature() ?? '';
$headers = $this->getHeaders();

$verifier = new Verifier(
new Verifier(
$this->configuration,
implode('.', [$parts[0], $parts[1]]),
$signature,
Expand All @@ -277,8 +277,6 @@ public function verify(
$cache,
);

$verifier->verify();

return $this;
}

Expand Down

0 comments on commit 4f300b6

Please sign in to comment.