Merge pull request #823 from beevee/elasticsearch_basic_auth
enable withCredentials in elasticsearch basic auth
This commit is contained in:
@@ -37,6 +37,7 @@ function (angular, _, config, kbn, moment) {
|
||||
};
|
||||
|
||||
if (this.basicAuth) {
|
||||
options.withCredentials = true;
|
||||
options.headers = {
|
||||
"Authorization": "Basic " + this.basicAuth
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user