mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
Revert to using newtonsoft for saving org TwoFactorProviders (#1850)
This commit is contained in:
parent
e05fce18bd
commit
f824a2aaf1
@ -163,7 +163,7 @@ namespace Bit.Core.Entities
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
TwoFactorProviders = JsonSerializer.Serialize(providers);
|
TwoFactorProviders = JsonHelpers.LegacySerialize(providers, JsonHelpers.LegacyEnumKeyResolver);
|
||||||
_twoFactorProviders = providers;
|
_twoFactorProviders = providers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user