diff --git a/src/Controller/Component/RecaptchaComponent.php b/src/Controller/Component/RecaptchaComponent.php index 5426ef4..96387b0 100644 --- a/src/Controller/Component/RecaptchaComponent.php +++ b/src/Controller/Component/RecaptchaComponent.php @@ -47,7 +47,7 @@ public function startup(Event $event) { // Register API keys at https://www.google.com/recaptcha/admin $siteKey = Configure::read('Recaptcha.siteKey'); - $secret = Configure::read('Recaptcha.secret');; + $secret = Configure::read('Recaptcha.secret'); // reCAPTCHA supported 40+ languages listed here: https://developers.google.com/recaptcha/docs/language $lang = Configure::read('Recaptcha.defaultLang'); $host = $controller->request->env("REMOTE_ADDR");