diff --git a/agent/http.go b/agent/http.go index 8721fcd9cbaf..051b78334ee0 100644 --- a/agent/http.go +++ b/agent/http.go @@ -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,