mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
Switch to Legacy Deserialization (#1851)
This commit is contained in:
@@ -142,7 +142,7 @@ namespace Bit.Core.Entities
|
|||||||
if (_twoFactorProviders == null)
|
if (_twoFactorProviders == null)
|
||||||
{
|
{
|
||||||
_twoFactorProviders =
|
_twoFactorProviders =
|
||||||
JsonSerializer.Deserialize<Dictionary<TwoFactorProviderType, TwoFactorProvider>>(
|
JsonHelpers.LegacyDeserialize<Dictionary<TwoFactorProviderType, TwoFactorProvider>>(
|
||||||
TwoFactorProviders);
|
TwoFactorProviders);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user