don't error on custom remediation at runtime
This commit is contained in:
parent
1fd5409954
commit
9419b73111
|
@ -540,7 +540,7 @@ func (w *AppsecRuntimeConfig) SetAction(action string) error {
|
||||||
case "captcha":
|
case "captcha":
|
||||||
w.Response.Action = action
|
w.Response.Action = action
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("unknown action %s", action)
|
w.Response.Action = action
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue