mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-02 05:04:31 -04:00
Don't logout if deviceId is null.
This commit is contained in:
parent
6f3bd59aac
commit
f53aa55bdb
@ -1540,6 +1540,8 @@ namespace Emby.Server.Implementations.Session
|
|||||||
Limit = 1
|
Limit = 1
|
||||||
}).Items.FirstOrDefault();
|
}).Items.FirstOrDefault();
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(deviceId))
|
||||||
|
{
|
||||||
var allExistingForDevice = _authRepo.Get(
|
var allExistingForDevice = _authRepo.Get(
|
||||||
new AuthenticationInfoQuery
|
new AuthenticationInfoQuery
|
||||||
{
|
{
|
||||||
@ -1560,6 +1562,7 @@ namespace Emby.Server.Implementations.Session
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (existing != null)
|
if (existing != null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user