Init the headers in iedavclient.js
This commit is contained in:
parent
54209abb74
commit
f44500f77a
|
@ -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 New Issue