Do not pass Authorization header in Grafana.net proxy (#6243)

This commit is contained in:
marcv81 2016-10-12 12:54:33 +08:00 committed by Torkel Ödegaard
parent 885e0366c5
commit 150d21800c

View File

@ -36,6 +36,7 @@ func ReverseProxyGnetReq(proxyPath string) *httputil.ReverseProxy {
// clear cookie headers
req.Header.Del("Cookie")
req.Header.Del("Set-Cookie")
req.Header.Del("Authorization")
}
return &httputil.ReverseProxy{Director: director}