mirror of
https://github.com/acepanel/panel.git
synced 2026-02-06 07:27:16 +08:00
fix: 统一格式
This commit is contained in:
@@ -41,7 +41,7 @@ func (receiver *RouteServiceProvider) configureRateLimiting() {
|
||||
}),
|
||||
limit.PerDay(1000).Response(func(ctx contractshttp.Context) {
|
||||
ctx.Request().AbortWithStatusJson(contractshttp.StatusTooManyRequests, contractshttp.Json{
|
||||
"message": "面板遭受登录爆破攻击过多,已暂时屏蔽登录,请立刻更换面板端口!",
|
||||
"message": "面板遭受登录爆破攻击过多,已暂时屏蔽登录,请立刻更换面板端口",
|
||||
})
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user