proxyd/fix: use correct context for auth

This commit is contained in:
Felipe Andrade 2023-05-08 19:19:46 -07:00
parent 6302eddef8
commit 92b54553c8

@ -576,7 +576,7 @@ func (s *Server) populateContext(w http.ResponseWriter, r *http.Request) context
return nil return nil
} }
ctx = context.WithValue(r.Context(), ContextKeyAuth, s.authenticatedPaths[authorization]) // nolint:staticcheck ctx = context.WithValue(ctx, ContextKeyAuth, s.authenticatedPaths[authorization]) // nolint:staticcheck
} }
return context.WithValue( return context.WithValue(