Skip to content

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.cs
index 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.Security
if (device != null)
{
authInfo.IsAuthenticated = true;
- }
-
- if (device != null)
- {
var updateToken = false;
// TODO: Remove these checks for IsNullOrWhiteSpace