Commit 6d59d217 by Torkel Ödegaard

Merge pull request #154 from jmhobbs/master

Fix variable name for graphite basic auth.
parents bb6d8ec9 2ee10634
......@@ -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;
......
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