소스 검색

enable withCredentials in elasticsearch basic auth

Alexey Kirpichnikov 11 년 전
부모
커밋
77b0d36b55
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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
         };