Don't check for API key on local requests

This commit is contained in:
Mark McDowall 2013-09-23 15:56:01 -07:00
parent 5841140c99
commit df967c1ed1
1 changed files with 4 additions and 4 deletions

View File

@ -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;