mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-07-12 14:33:27 +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
38e6ebc5f9
commit
a15719c710
|
@ -414,7 +414,7 @@ internal class Program
|
||||||
set("Enabled", true);
|
set("Enabled", true);
|
||||||
set("Plan", "Custom");
|
set("Plan", "Custom");
|
||||||
set("PlanType", Enum.Parse(planTypeEnum, "Custom"));
|
set("PlanType", Enum.Parse(planTypeEnum, "Custom"));
|
||||||
set("Seats", (Int32)Int16.MaxValue);
|
set("Seats", Int32.MaxValue);
|
||||||
set("MaxCollections", Int16.MaxValue);
|
set("MaxCollections", Int16.MaxValue);
|
||||||
set("UsePolicies", true);
|
set("UsePolicies", true);
|
||||||
set("UseSso", true);
|
set("UseSso", true);
|
||||||
|
@ -431,7 +431,11 @@ internal class Program
|
||||||
set("MaxStorageGb", storage == 0 ? Int16.MaxValue : storage);
|
set("MaxStorageGb", storage == 0 ? Int16.MaxValue : storage);
|
||||||
set("SelfHost", true);
|
set("SelfHost", true);
|
||||||
set("UsersGetPremium", 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("Issued", DateTime.UtcNow);
|
||||||
set("Refresh", DateTime.UtcNow.AddYears(100).AddMonths(-1));
|
set("Refresh", DateTime.UtcNow.AddYears(100).AddMonths(-1));
|
||||||
set("Expires", DateTime.UtcNow.AddYears(100));
|
set("Expires", DateTime.UtcNow.AddYears(100));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user