mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #6038 from crobibero/delete-existing-sessions
Don't logout if deviceId is null (cherry picked from commit 1594385497fb7f8e7d12169db34c64821c73864f) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
49873c3d7f
commit
d2db73b876
@ -1543,6 +1543,8 @@ namespace Emby.Server.Implementations.Session
|
||||
Limit = 1
|
||||
}).Items.FirstOrDefault();
|
||||
|
||||
if (!string.IsNullOrEmpty(deviceId))
|
||||
{
|
||||
var allExistingForDevice = _authRepo.Get(
|
||||
new AuthenticationInfoQuery
|
||||
{
|
||||
@ -1563,6 +1565,7 @@ namespace Emby.Server.Implementations.Session
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (existing != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user