mirror of https://github.com/grafana/grafana.git
parent
368889828d
commit
f70d7ff3a3
|
|
@ -127,7 +127,7 @@ func (e *InfluxDBExecutor) createRequest(query string) (*http.Request, error) {
|
||||||
req.SetBasicAuth(e.BasicAuthUser, e.BasicAuthPassword)
|
req.SetBasicAuth(e.BasicAuthUser, e.BasicAuthPassword)
|
||||||
}
|
}
|
||||||
|
|
||||||
if e.User != "" {
|
if !e.BasicAuth && e.User != "" {
|
||||||
req.SetBasicAuth(e.User, e.Password)
|
req.SetBasicAuth(e.User, e.Password)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue