管理系统安全设置CheckClientRegion参数默认改为false

This commit is contained in:
GoEdgeLab
2024-03-16 09:57:55 +08:00
parent 15089820e3
commit 45ba475d4a

View File

@@ -87,7 +87,7 @@ func loadSecurityConfig() (*systemconfigs.SecurityConfig, error) {
Frame: FrameSameOrigin, Frame: FrameSameOrigin,
AllowLocal: true, AllowLocal: true,
CheckClientFingerprint: false, CheckClientFingerprint: false,
CheckClientRegion: true, CheckClientRegion: false,
} }
err = json.Unmarshal(resp.ValueJSON, config) err = json.Unmarshal(resp.ValueJSON, config)
if err != nil { if err != nil {