mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01: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…
Reference in New Issue
Block a user