TehTux / jh_captcha

TYPO3 Extension jh_captcha
https://typo3.org/extensions/repository/view/jh_captcha
GNU General Public License v2.0
5 stars 20 forks source link

Add expired-callback integration in grecaptcha.render code? #21

Closed baden32 closed 3 years ago

baden32 commented 4 years ago

I'm using last jh_captcha version to integrate reCatcha v2. Code generated in ReCaptchaViewHelper.php already contains the callback initialisation function.

As mentionned by Google (https://developers.google.com/recaptcha/docs/display) a callback function could be called/defined when the captcha expires (no activity from the user), just adding 'expired-callback': in the grecaptcha.render(...) definition.

Do you think it would be possible to add this feature in future version of the extension? Thanks a lot for your job. Regards Joel