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…
Reference in New Issue
Block a user