Forráskód Böngészése

Combine if statements

Patrick Barron 4 éve
szülő
commit
4206c0e091

+ 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