Issues

ZF-7654: Zend_Captcha_ReCaptcha options not working

Description

When using Zend_Captcha_ReCaptcha, I try to pass options to ReCaptcha to be able to change the language, which is not working :

$captcha = new Zend_Captcha_ReCaptcha();

$captcha->setPubkey('MyPubKey'); $captcha->setPrivkey('MyPrivKey');

$captcha->setOption('lang', 'fr');

echo $captcha->render();

Displays ReCaptcha in english instead of french

Can be worked around using :

$captcha->getService()->setOption('lang', 'fr');

Comments

Fixed in r18164