1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-08 22:58:11 -05:00

continue if disables

This commit is contained in:
Kyle Spearrin 2019-02-13 21:03:22 -05:00
parent cc2cef5b27
commit f2aac6b8a0

View File

@ -80,16 +80,19 @@ namespace Bit.Core.Services
if(totalLicensedOrgs > 1) if(totalLicensedOrgs > 1)
{ {
await DisableOrganizationAsync(org, license, "Multiple organizations."); await DisableOrganizationAsync(org, license, "Multiple organizations.");
continue;
} }
if(!license.VerifyData(org, _globalSettings)) if(!license.VerifyData(org, _globalSettings))
{ {
await DisableOrganizationAsync(org, license, "Invalid data."); await DisableOrganizationAsync(org, license, "Invalid data.");
continue;
} }
if(!license.VerifySignature(_certificate)) if(!license.VerifySignature(_certificate))
{ {
await DisableOrganizationAsync(org, license, "Invalid signature."); await DisableOrganizationAsync(org, license, "Invalid signature.");
continue;
} }
} }
} }