소스 검색

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