mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-05-24 14:33:26 +00:00
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:
parent
80c0808e72
commit
e173c06320
|
@ -416,7 +416,7 @@ namespace bitwardenSelfLicensor
|
|||
set("Enabled", true);
|
||||
set("Plan", "Custom");
|
||||
set("PlanType", Enum.Parse(planTypeEnum, "Custom"));
|
||||
set("Seats", (int)short.MaxValue);
|
||||
set("Seats", int.MaxValue);
|
||||
set("MaxCollections", short.MaxValue);
|
||||
set("UsePolicies", true);
|
||||
set("UseSso", true);
|
||||
|
@ -433,7 +433,11 @@ namespace bitwardenSelfLicensor
|
|||
set("MaxStorageGb", storage == 0 ? short.MaxValue : storage);
|
||||
set("SelfHost", true);
|
||||
set("UsersGetPremium", true);
|
||||
set("Version", 10);
|
||||
set("UsePasswordManager", true);
|
||||
set("UseSecretsManager", true);
|
||||
set("SmSeats", int.MaxValue);
|
||||
set("SmServiceAccounts", int.MaxValue);
|
||||
set("Version", 12);
|
||||
set("Issued", DateTime.UtcNow);
|
||||
set("Refresh", DateTime.UtcNow.AddYears(100).AddMonths(-1));
|
||||
set("Expires", DateTime.UtcNow.AddYears(100));
|
||||
|
|
Loading…
Reference in New Issue
Block a user