diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-15 08:46:24 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-15 08:46:24 -0400 |
| commit | b889c31f5629b0d46fdd8f71d62f1546e18efc11 (patch) | |
| tree | 25cf3a27fa09c0eefc103e00f2a8ba9b300255ec /MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs | |
| parent | 6e91ae4c89b462aea7f65283e5fa776edda7b325 (diff) | |
open up live tv method
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |
