From f2aac6b8a030cbd2ead44dc63f776f13f2f791a2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 13 Feb 2019 21:03:22 -0500 Subject: [PATCH] continue if disables --- src/Core/Services/Implementations/LicensingService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Core/Services/Implementations/LicensingService.cs b/src/Core/Services/Implementations/LicensingService.cs index 83a2dabc1e..ef1af3041d 100644 --- a/src/Core/Services/Implementations/LicensingService.cs +++ b/src/Core/Services/Implementations/LicensingService.cs @@ -80,16 +80,19 @@ namespace Bit.Core.Services if(totalLicensedOrgs > 1) { await DisableOrganizationAsync(org, license, "Multiple organizations."); + continue; } if(!license.VerifyData(org, _globalSettings)) { await DisableOrganizationAsync(org, license, "Invalid data."); + continue; } if(!license.VerifySignature(_certificate)) { await DisableOrganizationAsync(org, license, "Invalid signature."); + continue; } } }