mirror of
https://github.com/niusmallnan/steve.git
synced 2025-09-11 09:59:39 +00:00
Add impersonation support
This commit is contained in:
@@ -51,7 +51,7 @@ func setup(ctx context.Context, server *Server) (http.Handler, *schema.Collectio
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
cf, err := client.NewFactory(server.RestConfig)
|
||||
cf, err := client.NewFactory(server.RestConfig, server.AuthMiddleware != nil)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user