Commit 14efe132 authored by deepak.srivastava's avatar deepak.srivastava

force ssl for recaptch for civicrm.org https site

parent 1295d64b
......@@ -80,9 +80,8 @@ class CRM_Utils_ReCAPTCHA {
require_once 'packages/recaptcha/recaptchalib.php';
// See if we are using SSL
if (CRM_Utils_System::isSSL()) {
$useSSL = TRUE;
}
// enforce ssl=true for https sites (civicrm.org)
$useSSL = TRUE;
$html = recaptcha_get_html($config->recaptchaPublicKey, $error, $useSSL);
$form->assign('recaptchaHTML', $html);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment