mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Assign usepolicies when upgrading (#838)
This commit is contained in:
parent
ca52da8698
commit
69e8860767
@ -259,6 +259,7 @@ namespace Bit.Core.Services
|
||||
organization.Use2fa = newPlan.Use2fa;
|
||||
organization.UseApi = newPlan.UseApi;
|
||||
organization.SelfHost = newPlan.SelfHost;
|
||||
organization.UsePolicies = newPlan.UsePolicies;
|
||||
organization.UsersGetPremium = newPlan.UsersGetPremium || upgrade.PremiumAccessAddon;
|
||||
organization.Plan = newPlan.Name;
|
||||
organization.Enabled = success;
|
||||
|
Loading…
x
Reference in New Issue
Block a user