Fix variable name for graphite basic auth.

This commit is contained in:
John Hobbs
2014-02-28 13:16:24 -06:00
parent bb6d8ec99f
commit 2ee1063485

View File

@@ -129,7 +129,7 @@ function (angular, _, $, config, kbn, moment) {
if (this.basicAuth) {
options.withCredentials = true;
options.headers = options.headers || {};
options.headers.Authorization = 'Basic ' + config.graphiteBasicAuth;
options.headers.Authorization = 'Basic ' + this.basicAuth;
}
options.url = this.url + options.url;