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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user