Просмотр исходного кода

Fix Ombi auth through Jellyfin

Nicholas Sica 3 лет назад
Родитель
Сommit
8ae5316198
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      Jellyfin.Server.Implementations/Security/AuthorizationContext.cs

+ 3 - 3
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;
                     }