Remove log spam when using legacy api

This commit is contained in:
crobibero
2020-06-01 12:42:59 -06:00
parent b944b8f8c5
commit e30a85025f
3 changed files with 19 additions and 2 deletions

View File

@@ -146,11 +146,17 @@ namespace Emby.Server.Implementations.HttpServer.Security
{
return true;
}
if (authAttribtues.AllowLocalOnly && request.IsLocal)
{
return true;
}
if (authAttribtues.IgnoreLegacyAuth)
{
return true;
}
return false;
}