diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-23 01:25:43 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-23 01:25:43 -0400 |
| commit | d569ef4fd7ea2abbc46d29fb69aa4566bc6139e9 (patch) | |
| tree | 6781322d3c471f3536da495fbd53c8ae41752b74 | |
| parent | e8e5a314c5d6dbccc2dcb9be3ea3c26b17e9bbb0 (diff) | |
fix appVersion errors
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/Security/AuthorizationContext.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/MediaBrowser.Server.Implementations/HttpServer/Security/AuthorizationContext.cs index 357f5c976..bc3e7b163 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/Security/AuthorizationContext.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/Security/AuthorizationContext.cs @@ -104,6 +104,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer.Security { info.DeviceId = tokenInfo.DeviceId; } + if (string.IsNullOrWhiteSpace(info.Version)) + { + info.Version = tokenInfo.AppVersion; + } } else { |
