diff --git a/module/VuFind/src/VuFind/Service/Factory.php b/module/VuFind/src/VuFind/Service/Factory.php index 8bc0d52b4c338130f52194bcd7b959786b9e40d7..eb8b55f67075aad99901384f3bd0408f9acf6bd6 100644 --- a/module/VuFind/src/VuFind/Service/Factory.php +++ b/module/VuFind/src/VuFind/Service/Factory.php @@ -468,7 +468,9 @@ class Factory : (isset($config->Captcha->privateKey) ? $config->Captcha->privateKey : ''); - $recaptcha = new \LosReCaptcha\Service\ReCaptcha($siteKey, $secretKey); + $recaptcha = new \LosReCaptcha\Service\ReCaptcha( + $siteKey, $secretKey, ['ssl' => true] + ); if (isset($config->Captcha->theme)) { $recaptcha->setOption('theme', $config->Captcha->theme); }