👔 Auth factor no longer include secret and config in response
This commit is contained in:
parent
eacb7c8f2f
commit
a98bfec86f
@ -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<string, object>? Config { get; set; } = new();
|
||||
[JsonIgnore] [MaxLength(8196)] public string? Secret { get; set; }
|
||||
[JsonIgnore] [Column(TypeName = "jsonb")] public Dictionary<string, object>? Config { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// The trustworthy stands for how safe is this auth factor.
|
||||
|
Loading…
x
Reference in New Issue
Block a user