enable withCredentials in elasticsearch basic auth

This commit is contained in:
Alexey Kirpichnikov
2014-09-18 17:50:59 +06:00
parent f2a6fc4d5a
commit 77b0d36b55

View File

@@ -37,6 +37,7 @@ function (angular, _, config, kbn, moment) {
};
if (this.basicAuth) {
options.withCredentials = true;
options.headers = {
"Authorization": "Basic " + this.basicAuth
};