Skip to content

Commit

Permalink
Use parseTokenInternal to avoid setting default token
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclement committed Sep 16, 2024
1 parent f03fae6 commit 3601fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func (s *HTTPHandlers) wrap(handler endpoint, methods []string) http.HandlerFunc
}

t := ""
s.parseToken(req, &t)
s.parseTokenInternal(req, &t)
if s.agent.config.LogACLInfo && t == "" {
httpLogger.Info("No ACL token in request",
"url", logURL,
Expand Down

0 comments on commit 3601fb7

Please sign in to comment.