Merge pull request #25233 from owncloud/iedavclient-nullheaders

Init the headers in iedavclient.js
This commit is contained in:
Morris Jobke 2016-06-22 22:13:12 +02:00 committed by GitHub
commit d47262ea46
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@
var self = this;
var xhr = this.xhrProvider();
headers = headers || {};
if (this.userName) {
headers['Authorization'] = 'Basic ' + btoa(this.userName + ':' + this.password);