mirror of
https://github.com/bitwarden/server
synced 2025-12-14 23:33:41 +00: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