Skip to content

Commit

Permalink
update log
Browse files Browse the repository at this point in the history
  • Loading branch information
spikelu2016 committed Mar 20, 2024
1 parent 5bcd508 commit 0028e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/authenticator/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (a *Authenticator) AuthenticateHttpRequest(req *http.Request) (*key.Respons
}

if key.Revoked {
return nil, nil, internal_errors.NewAuthError("not authorized")
return nil, nil, internal_errors.NewAuthError(fmt.Sprintf("key %s not authorized", key.KeyId))
}

if strings.HasPrefix(req.URL.Path, "/api/routes") {
Expand Down

0 comments on commit 0028e73

Please sign in to comment.