From 90e563e21f0814b9ddeb54da9a82b96ccaa4e50a Mon Sep 17 00:00:00 2001 From: Lorenzo Moscati Date: Thu, 3 Jul 2025 23:33:57 +0200 Subject: [PATCH] Update Program.cs 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 37e6145..7e92266 100644 --- a/src/licenseGen/Program.cs +++ b/src/licenseGen/Program.cs @@ -445,6 +445,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 })));