🐛 Bug fixes on factor config

This commit is contained in:
2025-01-28 19:33:26 +08:00
parent fabde24734
commit 71e959805f
2 changed files with 7 additions and 16 deletions

View File

@ -23,9 +23,9 @@ const (
type AuthFactor struct {
BaseModel
Type int8 `json:"type"`
Secret string `json:"-"`
Config JSONMap `json:"config"`
Type int8 `json:"type"`
Secret string `json:"-"`
Config datatypes.JSONMap `json:"config"`
Account Account `json:"account"`
AccountID uint `json:"account_id"`