🐛 Bug fixes on multi-factors based authentication

This commit is contained in:
2024-10-13 14:02:48 +08:00
parent 6ea4850459
commit 68b4390edf
3 changed files with 9 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ import (
)
type AuthConfig struct {
MaximumAuthSteps int `json:"maximum_auth_steps" validate:"required,min=1"`
MaximumAuthSteps int `json:"maximum_auth_steps"`
}
type AuthFactorType = int8