open up live tv method

This commit is contained in:
Luke Pulverenti
2014-10-15 08:46:24 -04:00
parent 6e91ae4c89
commit b889c31f56
2 changed files with 26 additions and 2 deletions

View File

@@ -65,7 +65,8 @@ namespace MediaBrowser.Server.Implementations.HttpServer.Security
if (!allowLocal || !req.IsLocal)
{
if (!_config.Configuration.InsecureApps2.Contains(auth.Client ?? string.Empty, StringComparer.OrdinalIgnoreCase))
if (!string.IsNullOrWhiteSpace(auth.Token) ||
!_config.Configuration.InsecureApps2.Contains(auth.Client ?? string.Empty, StringComparer.OrdinalIgnoreCase))
{
SessionManager.ValidateSecurityToken(auth.Token);
}