mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Switch to Legacy Deserialization (#1851)
This commit is contained in:
parent
f824a2aaf1
commit
1b0d18a7c5
@ -142,7 +142,7 @@ namespace Bit.Core.Entities
|
||||
if (_twoFactorProviders == null)
|
||||
{
|
||||
_twoFactorProviders =
|
||||
JsonSerializer.Deserialize<Dictionary<TwoFactorProviderType, TwoFactorProvider>>(
|
||||
JsonHelpers.LegacyDeserialize<Dictionary<TwoFactorProviderType, TwoFactorProvider>>(
|
||||
TwoFactorProviders);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user