mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 12:53:25 +00:00 
			
		
		
		
	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
							
								
									457c1cc35e
								
							
						
					
					
						commit
						13b1f12885
					
				|  | @ -416,7 +416,7 @@ namespace bitwardenSelfLicensor | ||||||
|             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", (int)short.MaxValue); |             set("Seats", int.MaxValue); | ||||||
|             set("MaxCollections", short.MaxValue); |             set("MaxCollections", short.MaxValue); | ||||||
|             set("UsePolicies", true); |             set("UsePolicies", true); | ||||||
|             set("UseSso", true); |             set("UseSso", true); | ||||||
|  | @ -435,8 +435,8 @@ namespace bitwardenSelfLicensor | ||||||
|             set("UsersGetPremium", true); |             set("UsersGetPremium", true); | ||||||
|             set("UsePasswordManager", true); |             set("UsePasswordManager", true); | ||||||
|             set("UseSecretsManager", true); |             set("UseSecretsManager", true); | ||||||
|             set("SmSeats", (int)short.MaxValue); |             set("SmSeats", int.MaxValue); | ||||||
|             set("SmServiceAccounts", (int)short.MaxValue); |             set("SmServiceAccounts", int.MaxValue); | ||||||
|             set("Version", 12); |             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)); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user