mirror of https://github.com/lidarr/Lidarr
Don't check for API key on local requests
This commit is contained in:
parent
5841140c99
commit
df967c1ed1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue