The Free Software Media System - Server Backend & API
Combine if statements
Patrick Barron4206c0e0910e
diff --git a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs b/Jellyfin.Server.Implementations/Security/AuthorizationContext.csindex 92be5477cb..4b073ed33e 100644--- a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs+++ b/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs@@ -123,10 +123,6 @@ namespace Jellyfin.Server.Implementations.Securityif (device != null){authInfo.IsAuthenticated = true;- }-- if (device != null)- {var updateToken = false;// TODO: Remove these checks for IsNullOrWhiteSpace