Skip to content

Commit 1c10070

Browse files
committed
fix: show error correctly if set to authenticatorHeader.
1 parent 8776ed7 commit 1c10070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Authentication/Authenticators/AccessTokens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function check(array $credentials): Result
9595
if (! array_key_exists('token', $credentials) || empty($credentials['token'])) {
9696
return new Result([
9797
'success' => false,
98-
'reason' => lang('Auth.noToken'),
98+
'reason' => lang('Auth.noToken', [config('Auth')->authenticatorHeader['tokens']]),
9999
]);
100100
}
101101

0 commit comments

Comments
 (0)