From b889c31f5629b0d46fdd8f71d62f1546e18efc11 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 15 Oct 2014 08:46:24 -0400 Subject: open up live tv method --- MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs') diff --git a/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs b/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs index 753cfd242..e5a94d5cb 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs @@ -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); } -- cgit v1.2.3