mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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