1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +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;
}