Updated license version to 12, added SM options, increased max seats (short to int) (#172)

* - Updated license version to 12
- Added new SM license options
* Change seats, smseats, smserviceaccounts from short to int, like they are in the Bitwarden server code, to allow for the accurate maximum amount of seats
This commit is contained in:
Michiel Hazelhof 2023-11-30 11:21:15 +01:00
parent 38e6ebc5f9
commit a15719c710
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF

View File

@ -414,7 +414,7 @@ internal class Program
set("Enabled", true);
set("Plan", "Custom");
set("PlanType", Enum.Parse(planTypeEnum, "Custom"));
set("Seats", (Int32)Int16.MaxValue);
set("Seats", Int32.MaxValue);
set("MaxCollections", Int16.MaxValue);
set("UsePolicies", true);
set("UseSso", true);
@ -431,7 +431,11 @@ internal class Program
set("MaxStorageGb", storage == 0 ? Int16.MaxValue : storage);
set("SelfHost", true);
set("UsersGetPremium", true);
set("Version", 10);
set("UsePasswordManager", true);
set("UseSecretsManager", true);
set("SmSeats", Int32.MaxValue);
set("SmServiceAccounts", Int32.MaxValue);
set("Version", 12);
set("Issued", DateTime.UtcNow);
set("Refresh", DateTime.UtcNow.AddYears(100).AddMonths(-1));
set("Expires", DateTime.UtcNow.AddYears(100));