Kaynağa Gözat

enable withCredentials in elasticsearch basic auth

Alexey Kirpichnikov 11 yıl önce
ebeveyn
işleme
77b0d36b55

+ 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
         };