1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01:00

Revert to using newtonsoft for saving org TwoFactorProviders (#1850)

This commit is contained in:
Oscar Hinton 2022-02-09 14:46:37 +01:00 committed by GitHub
parent e05fce18bd
commit f824a2aaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ namespace Bit.Core.Entities
return; return;
} }
TwoFactorProviders = JsonSerializer.Serialize(providers); TwoFactorProviders = JsonHelpers.LegacySerialize(providers, JsonHelpers.LegacyEnumKeyResolver);
_twoFactorProviders = providers; _twoFactorProviders = providers;
} }