🐛 Bug fixes on settings auth preferences

This commit is contained in:
2024-10-13 14:07:49 +08:00
parent 68b4390edf
commit 06bd632f37
3 changed files with 7 additions and 7 deletions

View File

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