Browse Source

Combine if statements

Patrick Barron 4 years ago
parent
commit
4206c0e091
1 changed files with 0 additions and 4 deletions
  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