fix(influxdb): align tsdb.influxdb with dataproxy

ref #6784
This commit is contained in:
bergquist 2016-12-02 21:10:29 +01:00
parent 368889828d
commit f70d7ff3a3
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func (e *InfluxDBExecutor) createRequest(query string) (*http.Request, error) {
req.SetBasicAuth(e.BasicAuthUser, e.BasicAuthPassword)
}
if e.User != "" {
if !e.BasicAuth && e.User != "" {
req.SetBasicAuth(e.User, e.Password)
}