diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-22 16:58:06 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-22 16:58:06 +0200 |
commit | 4a2fb1b4cb75a8a66fbe6e6f119fdf1db90b12ad (patch) | |
tree | bcf4a69eb06cfd9cfa3d175789b8a5b87d71ef44 /core/js/files | |
parent | ae50e7236fe6d72d561b1c9c968c15471e3f2dcc (diff) | |
download | nextcloud-server-4a2fb1b4cb75a8a66fbe6e6f119fdf1db90b12ad.tar.gz nextcloud-server-4a2fb1b4cb75a8a66fbe6e6f119fdf1db90b12ad.zip |
Init the headers in iedavclient.js
Diffstat (limited to 'core/js/files')
-rw-r--r-- | core/js/files/iedavclient.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/files/iedavclient.js b/core/js/files/iedavclient.js index 9e83f5b9a22..a0185fb3bec 100644 --- a/core/js/files/iedavclient.js +++ b/core/js/files/iedavclient.js @@ -29,6 +29,7 @@ var self = this; var xhr = this.xhrProvider(); + headers = headers || {}; if (this.userName) { headers['Authorization'] = 'Basic ' + btoa(this.userName + ':' + this.password); |