diff --git a/DysonNetwork.Sphere/Account/Account.cs b/DysonNetwork.Sphere/Account/Account.cs index 608991b..46fdab1 100644 --- a/DysonNetwork.Sphere/Account/Account.cs +++ b/DysonNetwork.Sphere/Account/Account.cs @@ -107,8 +107,8 @@ public class AccountAuthFactor : ModelBase { public Guid Id { get; set; } public AccountAuthFactorType Type { get; set; } - [MaxLength(8196)] public string? Secret { get; set; } - [Column(TypeName = "jsonb")] public Dictionary? Config { get; set; } = new(); + [JsonIgnore] [MaxLength(8196)] public string? Secret { get; set; } + [JsonIgnore] [Column(TypeName = "jsonb")] public Dictionary? Config { get; set; } = new(); /// /// The trustworthy stands for how safe is this auth factor.