Unverified Commit 4a2fb1b4 authored by Vincent Petry's avatar Vincent Petry
Browse files

Init the headers in iedavclient.js

parent ae50e723
......@@ -29,6 +29,7 @@
var self = this;
var xhr = this.xhrProvider();
headers = headers || {};
if (this.userName) {
headers['Authorization'] = 'Basic ' + btoa(this.userName + ':' + this.password);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment