1
0
mirror of https://github.com/bitwarden/server synced 2025-12-13 14:53:34 +00:00

Switch to Legacy Deserialization (#1851)

This commit is contained in:
Justin Baur
2022-02-09 10:39:45 -05:00
committed by GitHub
parent f824a2aaf1
commit 1b0d18a7c5

View File

@@ -142,7 +142,7 @@ namespace Bit.Core.Entities
if (_twoFactorProviders == null)
{
_twoFactorProviders =
JsonSerializer.Deserialize<Dictionary<TwoFactorProviderType, TwoFactorProvider>>(
JsonHelpers.LegacyDeserialize<Dictionary<TwoFactorProviderType, TwoFactorProvider>>(
TwoFactorProviders);
}