Use SSL with Recaptcha to fix it

This commit is contained in:
Albert Santoni 2014-08-25 14:45:04 -04:00
parent 0fb9429a9e
commit 80b9bcdfc6
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ class Application_Form_Login extends Zend_Form
$pubKey = '6Ld4JsISAAAAAIxUKT4IjjOGi3DHqdoH2zk6WkYG';
$privKey = '6Ld4JsISAAAAAJynYlXdrE4hfTReTSxYFe5szdyv';
$recaptcha = new Zend_Service_ReCaptcha($pubKey, $privKey);
$params= array('ssl' => true);
$recaptcha = new Zend_Service_ReCaptcha($pubKey, $privKey, $params);
$captcha = new Zend_Form_Element_Captcha('captcha',
array(