diff --git a/bitwarden_license/src/Portal/Models/PoliciesModel.cs b/bitwarden_license/src/Portal/Models/PoliciesModel.cs index 9987dcd99..e27c8533c 100644 --- a/bitwarden_license/src/Portal/Models/PoliciesModel.cs +++ b/bitwarden_license/src/Portal/Models/PoliciesModel.cs @@ -20,7 +20,7 @@ namespace Bit.Portal.Models foreach (var type in Enum.GetValues(typeof(PolicyType)).Cast()) { - var enabled = policyDict?.ContainsKey(type) ?? false && policyDict[type].Enabled; + var enabled = policyDict.ContainsKey(type) ? policyDict[type].Enabled : false; Policies.Add(new PolicyModel(type, enabled)); } }