Don't logout if deviceId is null.

This commit is contained in:
crobibero 2021-05-12 13:32:54 -06:00
parent 6f3bd59aac
commit f53aa55bdb

View File

@ -1540,6 +1540,8 @@ namespace Emby.Server.Implementations.Session
Limit = 1
}).Items.FirstOrDefault();
if (!string.IsNullOrEmpty(deviceId))
{
var allExistingForDevice = _authRepo.Get(
new AuthenticationInfoQuery
{
@ -1560,6 +1562,7 @@ namespace Emby.Server.Implementations.Session
}
}
}
}
if (existing != null)
{