From b9c46fffb20ec0ef81817ac96824013b3d55ad23 Mon Sep 17 00:00:00 2001 From: Lorenzo Moscati Date: Fri, 11 Jul 2025 00:43:22 +0200 Subject: [PATCH] Update Program.cs (#237) Set three new license options to true: UseRiskInsights, UseOrganizationDomains, and UseAdminSponsoredFamilies. --- src/licenseGen/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/licenseGen/Program.cs b/src/licenseGen/Program.cs index e58024d..d8b98ca 100644 --- a/src/licenseGen/Program.cs +++ b/src/licenseGen/Program.cs @@ -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 })));