Ver Fonte

Merge pull request #823 from beevee/elasticsearch_basic_auth

enable withCredentials in elasticsearch basic auth
Torkel Ödegaard há 11 anos atrás
pai
commit
fa31fc046e
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/app/services/elasticsearch/es-datasource.js

+ 1 - 0
src/app/services/elasticsearch/es-datasource.js

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