Browse Source

Switch to Legacy Deserialization (#1851)

pull/1854/head
Justin Baur 4 years ago committed by GitHub
parent
commit
1b0d18a7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Core/Entities/Organization.cs

2
src/Core/Entities/Organization.cs

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

Loading…
Cancel
Save