Skip to content

Commit

Permalink
Merge pull request #596 from bigcommerce/INFRA-18260-2
Browse files Browse the repository at this point in the history
INFRA-18260: Use parseTokenInternal to avoid setting default token
  • Loading branch information
mattclement authored Sep 16, 2024
2 parents f03fae6 + 3601fb7 commit cd199d2
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 cd199d2

Please sign in to comment.