Explorar o código

Combine if statements

Patrick Barron %!s(int64=4) %!d(string=hai) anos
pai
achega
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