From 985b09da2c6442576547e81eac36ef3ca1e6cc34 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 16 May 2024 18:52:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=B8=8D=E9=99=90=E5=88=B6?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/web/actions/default/index/index.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/web/actions/default/index/index.go b/internal/web/actions/default/index/index.go index 20735a45..d8f82198 100644 --- a/internal/web/actions/default/index/index.go +++ b/internal/web/actions/default/index/index.go @@ -265,6 +265,7 @@ func (this *IndexAction) RunPost(params struct { // 检查登录区域 func (this *IndexAction) checkRegion() bool { + return true // 暂时不限制 var ip = loginutils.RemoteIP(&this.ActionObject) var result = iplibrary.LookupIP(ip) if result != nil && result.IsOk() && result.CountryId() > 0 && lists.ContainsInt64([]int64{9, 10}, result.CountryId()) {