Skip to content

Commit

Permalink
Merge pull request #844 from kenjis/fix-hmac-loggedIn
Browse files Browse the repository at this point in the history
fix: [HMAC Auth] wrong header key
  • Loading branch information
kenjis authored Sep 19, 2023
2 parents fdd5bcb + 2bb0114 commit a331260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Authentication/Authenticators/HmacSha256.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function loggedIn(): bool
$request = service('request');

return $this->attempt([
'token' => $request->getHeaderLine(config('Auth')->authenticatorHeader['tokens']),
'token' => $request->getHeaderLine(config('Auth')->authenticatorHeader['hmac']),
])->isOK();
}

Expand Down

0 comments on commit a331260

Please sign in to comment.