|
|
@ -29,10 +29,10 @@ namespace NzbDrone.Api.Authentication
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Response response = null;
|
|
|
|
Response response = null;
|
|
|
|
|
|
|
|
|
|
|
|
// if (!RuntimeInfo.IsProduction && context.Request.IsLocalRequest())
|
|
|
|
if (!RuntimeInfo.IsProduction && context.Request.IsLocalRequest())
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// return response;
|
|
|
|
return response;
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var apiKey = context.Request.Headers.Authorization;
|
|
|
|
var apiKey = context.Request.Headers.Authorization;
|
|
|
|
|
|
|
|
|
|
|
|