mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #154 from jmhobbs/master
Fix variable name for graphite basic auth.
This commit is contained in:
commit
6d59d21770
@ -129,7 +129,7 @@ function (angular, _, $, config, kbn, moment) {
|
|||||||
if (this.basicAuth) {
|
if (this.basicAuth) {
|
||||||
options.withCredentials = true;
|
options.withCredentials = true;
|
||||||
options.headers = options.headers || {};
|
options.headers = options.headers || {};
|
||||||
options.headers.Authorization = 'Basic ' + config.graphiteBasicAuth;
|
options.headers.Authorization = 'Basic ' + this.basicAuth;
|
||||||
}
|
}
|
||||||
|
|
||||||
options.url = this.url + options.url;
|
options.url = this.url + options.url;
|
||||||
|
Loading…
Reference in New Issue
Block a user