Commit 2ee10634 by John Hobbs

Fix variable name for graphite basic auth.

parent bb6d8ec9
...@@ -129,7 +129,7 @@ function (angular, _, $, config, kbn, moment) { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment