浏览代码

Combine if statements

Patrick Barron 4 年之前
父节点
当前提交
4206c0e091
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Jellyfin.Server.Implementations/Security/AuthorizationContext.cs

+ 0 - 4
Jellyfin.Server.Implementations/Security/AuthorizationContext.cs

@@ -123,10 +123,6 @@ namespace Jellyfin.Server.Implementations.Security
             if (device != null)
             {
                 authInfo.IsAuthenticated = true;
-            }
-
-            if (device != null)
-            {
                 var updateToken = false;
 
                 // TODO: Remove these checks for IsNullOrWhiteSpace