mirror of
https://github.com/bitwarden/server.git
synced 2024-12-25 17:27:45 +01:00
Revert to using newtonsoft for saving org TwoFactorProviders (#1850)
This commit is contained in:
parent
e05fce18bd
commit
f824a2aaf1
@ -163,7 +163,7 @@ namespace Bit.Core.Entities
|
||||
return;
|
||||
}
|
||||
|
||||
TwoFactorProviders = JsonSerializer.Serialize(providers);
|
||||
TwoFactorProviders = JsonHelpers.LegacySerialize(providers, JsonHelpers.LegacyEnumKeyResolver);
|
||||
_twoFactorProviders = providers;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user