mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 16:43:25 +08:00
增加用户验证防爆功能
This commit is contained in:
@@ -84,6 +84,11 @@ type ServerConfig struct {
|
||||
|
||||
DisplayError bool `json:"display_error"`
|
||||
ExcludeExportIp bool `json:"exclude_export_ip"`
|
||||
|
||||
MaxBanCount int `json:"max_ban_score"`
|
||||
BanResetTime int `json:"ban_reset_time"`
|
||||
LockTime int `json:"lock_time"`
|
||||
UserStateExpiration int `json:"user_state_expiration"`
|
||||
}
|
||||
|
||||
func initServerCfg() {
|
||||
|
Reference in New Issue
Block a user