diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-06-18 17:09:39 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-06-18 17:09:39 -0400 |
| commit | 4206c0e0910e257f2fa05db7e63b554919d799b3 (patch) | |
| tree | cbb102224cad490db3f172b04e12c042628b8325 | |
| parent | 32645750474efeb13c3d32f7fed0dd5db328d6ac (diff) | |
Combine if statements
| -rw-r--r-- | Jellyfin.Server.Implementations/Security/AuthorizationContext.cs | 4 |
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 |
