Skip to content

Commit a331260

Browse files
authored
Merge pull request #844 from kenjis/fix-hmac-loggedIn
fix: [HMAC Auth] wrong header key
2 parents fdd5bcb + 2bb0114 commit a331260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Authentication/Authenticators/HmacSha256.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function loggedIn(): bool
200200
$request = service('request');
201201

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

0 commit comments

Comments
 (0)