Skip to content

Commit

Permalink
by default only do captcha (#20)
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Sandbhor <[email protected]>
  • Loading branch information
sbs2001 authored Nov 2, 2023
1 parent bcc7843 commit 5cafffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cfg/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ func ConfigTokens(tokens string, baseConfigPath string) (string, error) {
accountIDX := accountIDXByID[zone.Account.ID]
accountConfigs[accountIDX].ZoneConfigs = append(accountConfigs[accountIDX].ZoneConfigs, ZoneConfig{
ID: zone.ID,
Actions: []string{"ban", "captcha"},
DefaultAction: "ban",
Actions: []string{"captcha"},
DefaultAction: "captcha",
Turnstile: TurnstileConfig{
Enabled: true,
RotateSecretKey: true,
Expand Down

0 comments on commit 5cafffe

Please sign in to comment.