diff --git a/Validation/ReCaptchaRules.php b/Validation/ReCaptchaRules.php index 17e679d..7161720 100644 --- a/Validation/ReCaptchaRules.php +++ b/Validation/ReCaptchaRules.php @@ -12,11 +12,6 @@ $service = service('reCaptcha2'); $params = explode(',', $params); - - if (count($params) == 0) - { - $service->setExpectedAction($params[0]); - } $response = $service->verify($token);