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