mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-05 06:35:13 -04:00
Merge pull request #6038 from crobibero/delete-existing-sessions
Don't logout if deviceId is null
This commit is contained in:
commit
1594385497
@ -1542,6 +1542,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
|
||||||
{
|
{
|
||||||
@ -1562,6 +1564,7 @@ namespace Emby.Server.Implementations.Session
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (existing != null)
|
if (existing != null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user