diff --git a/src/Core/Services/Implementations/UserService.cs b/src/Core/Services/Implementations/UserService.cs index 312d424fc5..0748743317 100644 --- a/src/Core/Services/Implementations/UserService.cs +++ b/src/Core/Services/Implementations/UserService.cs @@ -186,7 +186,7 @@ namespace Bit.Core.Services if(org != null && (!org.Enabled || string.IsNullOrWhiteSpace(org.GatewaySubscriptionId))) { var orgCount = await _organizationUserRepository.GetCountByOrganizationIdAsync(org.Id); - if(orgCount == 1) + if(orgCount <= 1) { await _organizationRepository.DeleteAsync(org); deletedOrg = true;