feat: instruction for adding passkey

This commit is contained in:
Jacky 2024-09-16 23:27:17 +08:00
parent aa30b0b4af
commit 018a3f15fd
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
28 changed files with 1851 additions and 763 deletions

View file

@ -1,7 +1,7 @@
package settings
type Auth struct {
IPWhiteList []string `json:"ip_white_list" binding:"omitempty,dive,ip" ini:",,allowshadow"`
IPWhiteList []string `json:"ip_white_list" binding:"omitempty,dive,ip" ini:",,allowshadow" protected:"true"`
BanThresholdMinutes int `json:"ban_threshold_minutes" binding:"min=1"`
MaxAttempts int `json:"max_attempts" binding:"min=1"`
}