Compare commits

...

2 Commits

Author SHA1 Message Date
Lorenzo Moscati
f3d472fe96
Merge 90e563e21f into 047c4ddf6f 2025-07-09 01:05:00 +00:00
Lorenzo Moscati
90e563e21f
Update Program.cs
Set three new license options to true: UseRiskInsights, UseOrganizationDomains, and UseAdminSponsoredFamilies.
2025-07-03 23:33:57 +02:00

View File

@ -432,6 +432,9 @@ namespace BitwardenSelfLicensor
set("LicenseType", Enum.Parse(licenseTypeEnum, "Organization"));
set("LimitCollectionCreationDeletion", true); //This will be used in the new version of BitWarden but can be applied now
set("AllowAdminAccessToAllCollectionItems", true);
set("UseRiskInsights", true);
set("UseOrganizationDomains", true);
set("UseAdminSponsoredFamilies", true);
set("Hash", Convert.ToBase64String((byte[])type.GetMethod("ComputeHash").Invoke(license, new object[0])));
set("Signature", Convert.ToBase64String((byte[])type.GetMethod("Sign").Invoke(license, new object[] { cert })));