mirror of
https://github.com/Rayzggz/server_torii.git
synced 2025-06-19 13:41:23 +08:00
feat: CAPTCHA
This commit is contained in:
@ -15,7 +15,7 @@ func IPBlockList(reqData dataType.UserRequest, ruleSet *config.RuleSet, decision
|
||||
return
|
||||
}
|
||||
if trie.Search(ip) {
|
||||
decision.SetCode(action.Done, "403")
|
||||
decision.SetCode(action.Done, []byte("403"))
|
||||
} else {
|
||||
decision.Set(action.Continue)
|
||||
}
|
||||
|
Reference in New Issue
Block a user