fix: fix user validation check
This commit is contained in:
parent
9c938bc730
commit
2a16c185fe
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user