Browse Source

Revert to using newtonsoft for saving org TwoFactorProviders (#1850)

pull/1851/head
Oscar Hinton 4 years ago committed by GitHub
parent
commit
f824a2aaf1
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

@ -163,7 +163,7 @@ namespace Bit.Core.Entities @@ -163,7 +163,7 @@ namespace Bit.Core.Entities
return;
}
TwoFactorProviders = JsonSerializer.Serialize(providers);
TwoFactorProviders = JsonHelpers.LegacySerialize(providers, JsonHelpers.LegacyEnumKeyResolver);
_twoFactorProviders = providers;
}

Loading…
Cancel
Save