aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Security
diff options
context:
space:
mode:
authorNicholas Sica <njs82@drexel.edu>2021-11-12 16:23:58 -0500
committerGitHub <noreply@github.com>2021-11-12 16:23:58 -0500
commit8ae53161989e0d5ba674b7a5efdf2a83a9867ead (patch)
tree4e8f8fe94d4a144de5bbf3fe1442963dae0f6c8e /Jellyfin.Server.Implementations/Security
parentc5e42ddcc6a107b094eb0316163f06f8428857e3 (diff)
Fix Ombi auth through Jellyfin
Diffstat (limited to 'Jellyfin.Server.Implementations/Security')
-rw-r--r--Jellyfin.Server.Implementations/Security/AuthorizationContext.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs b/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
index d648f9504..d59d36e88 100644
--- a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
+++ b/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
@@ -185,17 +185,17 @@ namespace Jellyfin.Server.Implementations.Security
authInfo.IsAuthenticated = true;
authInfo.Client = key.Name;
authInfo.Token = key.AccessToken;
- if(string.IsNullOrWhiteSpace(authInfo.DeviceId))
+ if (string.IsNullOrWhiteSpace(authInfo.DeviceId))
{
authInfo.DeviceId = string.Empty;
}
- if(string.IsNullOrWhiteSpace(authInfo.Device))
+ if (string.IsNullOrWhiteSpace(authInfo.Device))
{
authInfo.Device = string.Empty;
}
- if(string.IsNullOrWhiteSpace(authInfo.Version))
+ if (string.IsNullOrWhiteSpace(authInfo.Version))
{
authInfo.Version = string.Empty;
}