@ -45,12 +45,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
public User GetUser(object requestContext)
{
if (requestContext is HttpRequest request)
return GetUser(((HttpRequest)requestContext).HttpContext);
return GetUser(request.HttpContext);
}
return GetUser((HttpContext)requestContext);