mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
Revert to using newtonsoft for saving org TwoFactorProviders (#1850)
This commit is contained in:
@ -163,7 +163,7 @@ namespace Bit.Core.Entities
|
||||
return;
|
||||
}
|
||||
|
||||
TwoFactorProviders = JsonSerializer.Serialize(providers);
|
||||
TwoFactorProviders = JsonHelpers.LegacySerialize(providers, JsonHelpers.LegacyEnumKeyResolver);
|
||||
_twoFactorProviders = providers;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user