From 096a9ad3061c2b08c1a82b5d12ad57c82919cd4b Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 9 Nov 2018 15:18:05 +0100 Subject: [PATCH] Fix Google ReCaptcha RequestMethod injection --- google/recaptcha/1.1/config/packages/google_recaptcha.yaml | 1 + 1 file changed, 1 insertion(+) 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.