don't error on custom remediation at runtime

This commit is contained in:
bui 2024-01-16 09:04:16 +01:00
parent 1fd5409954
commit 9419b73111

View file

@ -540,7 +540,7 @@ func (w *AppsecRuntimeConfig) SetAction(action string) error {
case "captcha":
w.Response.Action = action
default:
return fmt.Errorf("unknown action %s", action)
w.Response.Action = action
}
return nil
}