mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
[AC-1779] Add comment to clarify ExpirationWithoutGracePeriod in OrganizationLicense (#3403)
* add the validation for version 12 and above * We needed comments only
This commit is contained in:
parent
a60f70dde5
commit
f615858724
@ -337,6 +337,10 @@ public class OrganizationLicense : ILicense
|
||||
valid = organization.UseCustomPermissions == UseCustomPermissions;
|
||||
}
|
||||
|
||||
/*Version 12 added ExpirationWithoutDatePeriod, but that property is informational only and is not saved
|
||||
to the Organization object. It's validated as part of the hash but does not need to be validated here.
|
||||
*/
|
||||
|
||||
if (valid && Version >= 13)
|
||||
{
|
||||
valid = organization.UseSecretsManager == UseSecretsManager &&
|
||||
|
Loading…
Reference in New Issue
Block a user