diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-24 23:54:32 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-24 23:54:32 -0400 |
| commit | bbaf88ae1f088584f9130852cd99ad372adce136 (patch) | |
| tree | d3f1f19c44527f96d603b09a6c960f33b3efd2c7 /MediaBrowser.Server.Implementations/HttpServer | |
| parent | e62270df353aa8e2ae0a20aeff7d5aa6f9b62630 (diff) | |
update tv db cleanup
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/Security/SessionContext.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/Security/SessionContext.cs b/MediaBrowser.Server.Implementations/HttpServer/Security/SessionContext.cs index c8278dc54..f40d117c4 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/Security/SessionContext.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/Security/SessionContext.cs @@ -25,14 +25,14 @@ namespace MediaBrowser.Server.Implementations.HttpServer.Security { var authorization = _authContext.GetAuthorizationInfo(requestContext); - if (!string.IsNullOrWhiteSpace(authorization.Token)) - { - var auth = GetTokenInfo(requestContext); - if (auth != null) - { - return _sessionManager.GetSessionByAuthenticationToken(auth, authorization.DeviceId, requestContext.RemoteIp, authorization.Version); - } - } + //if (!string.IsNullOrWhiteSpace(authorization.Token)) + //{ + // var auth = GetTokenInfo(requestContext); + // if (auth != null) + // { + // return _sessionManager.GetSessionByAuthenticationToken(auth, authorization.DeviceId, requestContext.RemoteIp, authorization.Version); + // } + //} var session = _sessionManager.GetSession(authorization.DeviceId, authorization.Client, authorization.Version); return Task.FromResult(session); |
