1
0
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:
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;
}
TwoFactorProviders = JsonSerializer.Serialize(providers);
TwoFactorProviders = JsonHelpers.LegacySerialize(providers, JsonHelpers.LegacyEnumKeyResolver);
_twoFactorProviders = providers;
}