redact value for plugin proxy routes

(cherry picked from commit 02365514f9)
This commit is contained in:
Brian Gann
2018-12-04 22:35:00 -06:00
committed by Torkel Ödegaard
parent 96cb4df83a
commit 0a19581c48
+1 -1
View File
@@ -87,7 +87,7 @@ func NewApiPluginProxy(ctx *m.ReqContext, proxyPath string, route *plugins.AppPl
}
for key, value := range headers {
log.Trace("setting key %v value %v", key, value[0])
log.Trace("setting key %v value <redacted>", key)
req.Header.Set(key, value[0])
}
}