mirror of
https://github.com/bitwarden/server
synced 2025-12-14 15:23:42 +00:00
enabled SSO when needed when upgrading from a free plan (#960)
This commit is contained in:
@@ -269,6 +269,7 @@ namespace Bit.Core.Services
|
||||
organization.UseTotp = newPlan.HasTotp;
|
||||
organization.Use2fa = newPlan.Has2fa;
|
||||
organization.UseApi = newPlan.HasApi;
|
||||
organization.UseSso = newPlan.HasSso;
|
||||
organization.SelfHost = newPlan.HasSelfHost;
|
||||
organization.UsersGetPremium = newPlan.UsersGetPremium || upgrade.PremiumAccessAddon;
|
||||
organization.Plan = newPlan.Name;
|
||||
|
||||
Reference in New Issue
Block a user