fix: fix user validation check

This commit is contained in:
Oliver Booth 2024-02-25 14:13:12 +00:00
parent 9c938bc730
commit 2a16c185fe
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -170,7 +170,7 @@ internal sealed class SessionService : BackgroundService, ISessionService
return false;
}
if (_userService.TryGetUser(session.UserId, out _))
if (!_userService.TryGetUser(session.UserId, out _))
{
return false;
}