1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

enabled SSO when needed when upgrading from a free plan (#960)

This commit is contained in:
Addison Beck
2020-10-07 15:03:47 -04:00
committed by GitHub
parent b710e581eb
commit 9848f12638

View File

@ -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;