mirror of
https://github.com/bitwarden/server.git
synced 2025-02-02 23:41:21 +01:00
continue if disables
This commit is contained in:
parent
cc2cef5b27
commit
f2aac6b8a0
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user