aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-06-18 17:09:39 -0400
committerPatrick Barron <barronpm@gmail.com>2021-06-18 17:09:39 -0400
commit4206c0e0910e257f2fa05db7e63b554919d799b3 (patch)
treecbb102224cad490db3f172b04e12c042628b8325
parent32645750474efeb13c3d32f7fed0dd5db328d6ac (diff)
Combine if statements
-rw-r--r--Jellyfin.Server.Implementations/Security/AuthorizationContext.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs b/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
index 92be5477c..4b073ed33 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