Send auth header with ajax requests

pull/34/merge
Mark McDowall 11 years ago
parent 48c9e29eab
commit 7ac77ecfcc

@ -22,6 +22,10 @@ define(
delete xhr.data;
}
s if (xhr) {
xhr.headers = xhr.headers || {};
xhr.headers.Authorization = window.NzbDrone.ApiKey;
}
return original.apply(this, arguments);
};

Loading…
Cancel
Save