Merge pull request #823 from beevee/elasticsearch_basic_auth

enable withCredentials in elasticsearch basic auth
This commit is contained in:
Torkel Ödegaard
2014-09-18 15:54:58 +02:00
@@ -37,6 +37,7 @@ function (angular, _, config, kbn, moment) {
};
if (this.basicAuth) {
options.withCredentials = true;
options.headers = {
"Authorization": "Basic " + this.basicAuth
};