diff --git a/src/Core/Entities/Organization.cs b/src/Core/Entities/Organization.cs index 5050ea1202..eddc4608d4 100644 --- a/src/Core/Entities/Organization.cs +++ b/src/Core/Entities/Organization.cs @@ -163,7 +163,7 @@ namespace Bit.Core.Entities return; } - TwoFactorProviders = JsonSerializer.Serialize(providers); + TwoFactorProviders = JsonHelpers.LegacySerialize(providers, JsonHelpers.LegacyEnumKeyResolver); _twoFactorProviders = providers; }