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(); }