summaryrefslogtreecommitdiffstats
path: root/core/js/files/iedavclient.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/files/iedavclient.js')
-rw-r--r--core/js/files/iedavclient.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/files/iedavclient.js b/core/js/files/iedavclient.js
index a0185fb3bec..4e2c17abc55 100644
--- a/core/js/files/iedavclient.js
+++ b/core/js/files/iedavclient.js
@@ -32,7 +32,7 @@
headers = headers || {};
if (this.userName) {
- headers['Authorization'] = 'Basic ' + btoa(this.userName + ':' + this.password);
+ headers.Authorization = 'Basic ' + btoa(this.userName + ':' + this.password);
// xhr.open(method, this.resolveUrl(url), true, this.userName, this.password);
}
xhr.open(method, this.resolveUrl(url), true);