mirror of
https://github.com/nextcloud/server.git
synced 2026-03-25 20:03:23 -04:00
Merge pull request #25233 from owncloud/iedavclient-nullheaders
Init the headers in iedavclient.js
This commit is contained in:
commit
d47262ea46
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
var self = this;
|
||||
var xhr = this.xhrProvider();
|
||||
headers = headers || {};
|
||||
|
||||
if (this.userName) {
|
||||
headers['Authorization'] = 'Basic ' + btoa(this.userName + ':' + this.password);
|
||||
|
|
|
|||
Loading…
Reference in a new issue