Merge pull request #25234 from owncloud/stable9-iedavclient-nullheaders

[stable9] Init the headers in iedavclient.js
This commit is contained in:
Vincent Petry 2016-07-01 11:22:06 +02:00 committed by GitHub
commit 98818283e5
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);