mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-15 21:06:20 -04:00
Don't check for API key on local requests
This commit is contained in:
@@ -29,10 +29,10 @@ namespace NzbDrone.Api.Authentication
|
||||
{
|
||||
Response response = null;
|
||||
|
||||
// if (!RuntimeInfo.IsProduction && context.Request.IsLocalRequest())
|
||||
// {
|
||||
// return response;
|
||||
// }
|
||||
if (!RuntimeInfo.IsProduction && context.Request.IsLocalRequest())
|
||||
{
|
||||
return response;
|
||||
}
|
||||
|
||||
var apiKey = context.Request.Headers.Authorization;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user