From 2bb01145629a16bdeca03dda2a23330ab17413bb Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 19 Sep 2023 15:45:59 +0900 Subject: [PATCH] docs: fix wrong header key --- src/Authentication/Authenticators/HmacSha256.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Authentication/Authenticators/HmacSha256.php b/src/Authentication/Authenticators/HmacSha256.php index 3e6d7a260..ea9932091 100644 --- a/src/Authentication/Authenticators/HmacSha256.php +++ b/src/Authentication/Authenticators/HmacSha256.php @@ -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(); }