mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
Fix Ombi auth through Jellyfin
This commit is contained in:
parent
c5e42ddcc6
commit
8ae5316198
@ -185,17 +185,17 @@ namespace Jellyfin.Server.Implementations.Security
|
|||||||
authInfo.IsAuthenticated = true;
|
authInfo.IsAuthenticated = true;
|
||||||
authInfo.Client = key.Name;
|
authInfo.Client = key.Name;
|
||||||
authInfo.Token = key.AccessToken;
|
authInfo.Token = key.AccessToken;
|
||||||
if(string.IsNullOrWhiteSpace(authInfo.DeviceId))
|
if (string.IsNullOrWhiteSpace(authInfo.DeviceId))
|
||||||
{
|
{
|
||||||
authInfo.DeviceId = string.Empty;
|
authInfo.DeviceId = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(string.IsNullOrWhiteSpace(authInfo.Device))
|
if (string.IsNullOrWhiteSpace(authInfo.Device))
|
||||||
{
|
{
|
||||||
authInfo.Device = string.Empty;
|
authInfo.Device = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(string.IsNullOrWhiteSpace(authInfo.Version))
|
if (string.IsNullOrWhiteSpace(authInfo.Version))
|
||||||
{
|
{
|
||||||
authInfo.Version = string.Empty;
|
authInfo.Version = string.Empty;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user