1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-24 22:35:49 -04:00

Fixed: API Authentication issues with Apache Basic Auth

This commit is contained in:
Mark McDowall
2014-01-24 08:35:05 -08:00
parent 6b90a3a1eb
commit 8292d4d267
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ define(
if (xhr) {
xhr.headers = xhr.headers || {};
xhr.headers.Authorization = window.NzbDrone.ApiKey;
xhr.headers['X-Api-Key'] = window.NzbDrone.ApiKey;
}
return original.apply(this, arguments);