Fix 401 error typo (#3393)
This commit is contained in:
parent
2fd16f441d
commit
9656378783
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class DaemonAuthenticate
|
|||
}
|
||||
|
||||
if (is_null($bearer = $request->bearerToken())) {
|
||||
throw new HttpException(401, 'Access this this endpoint must include an Authorization header.', null, ['WWW-Authenticate' => 'Bearer']);
|
||||
throw new HttpException(401, 'Access to this endpoint must include an Authorization header.', null, ['WWW-Authenticate' => 'Bearer']);
|
||||
}
|
||||
|
||||
$parts = explode('.', $bearer);
|
||||
|
|
Loading…
Reference in a new issue