mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-20 13:16:18 +00:00
Merge 90e563e21f into 047c4ddf6f
This commit is contained in:
@@ -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 })));
|
||||
|
||||
Reference in New Issue
Block a user