用户设置中增加登录状态下检查客户端区域的选项

This commit is contained in:
GoEdgeLab
2023-06-16 10:59:30 +08:00
parent 8816a22e97
commit 2df0a7d9cd

View File

@@ -12,6 +12,7 @@ type UserRegisterConfig struct {
ComplexPassword bool `yaml:"complexPassword" json:"complexPassword"` // 必须使用复杂密码
RequireVerification bool `yaml:"requireVerification" json:"requireVerification"` // 是否需要审核
RequireIdentity bool `yaml:"requireIdentity" json:"requireIdentity"` // 是否需要实名认证
CheckClientRegion bool `yaml:"checkClientRegion" json:"checkClientRegion"` // 在登录状态下检查客户端区域
// 电子邮箱激活设置
EmailVerification struct {