diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-22 16:58:06 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-22 18:16:32 +0200 |
commit | f44500f77af159aeb9f86aa23ecfbdd321ee5277 (patch) | |
tree | 874226c320d942d6e63298a1191a79f2b7bea32f /core | |
parent | 54209abb749cd2db9ffaca7a5c438c0172305dd1 (diff) | |
download | nextcloud-server-f44500f77af159aeb9f86aa23ecfbdd321ee5277.tar.gz nextcloud-server-f44500f77af159aeb9f86aa23ecfbdd321ee5277.zip |
Init the headers in iedavclient.js
Diffstat (limited to 'core')
-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); |