mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 03:10:26 +08:00
管理系统安全设置CheckClientRegion参数默认改为false
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user