Don't check for API key on local requests

pull/30/head
Mark McDowall 11 years ago
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…
Cancel
Save