diff --git a/google/recaptcha/1.1/config/packages/google_recaptcha.yaml b/google/recaptcha/1.1/config/packages/google_recaptcha.yaml index 1e9e8caa..45ed7cfc 100644 --- a/google/recaptcha/1.1/config/packages/google_recaptcha.yaml +++ b/google/recaptcha/1.1/config/packages/google_recaptcha.yaml @@ -4,6 +4,7 @@ services: ReCaptcha\ReCaptcha: arguments: $secret: '%env(GOOGLE_RECAPTCHA_SECRET)%' + $requestMethod: '@ReCaptcha\RequestMethod' # Curl is set here as default transport to communicate with Google servers. # If you do not have php-curl extension, you can change for a socket or a plain POST request.