This is my first Component. I've missing a Captcha, so I create one with Google Recaptcha.
To use, just go to https://www.google.com/recaptcha/admin and put your site name there, after generate the keys, put it on Admin Dashboard.
My english is a ****, so if want to improve the translation file, just fork the project and make a Pull Request.´
This works but only appears on the registration page. How do you add it to the login, pw reset and admin login pages?
Olá Genaro, entre em contato comigo:
Olá Jonathan, sou novo aqui. Vi que é programador e gostaria de ter seu contato para ajudas futuras aqui no Brasil.
i'd recommend only one change of line #11 of view.php to
<script src="https://www.google.com/recaptcha/api.js?hl=<?php echo ossn_site_settings('language'); ?>" async defer></script>
to make the captcha text appear in the same language as the site's default language
Great work on the component.
Reporting a bug...
If the user has a validation problem in the form, like password is too short.
The google reCAPTCHA is not reset and even though it was clicked, itdoes not register as being valid any more.
The user has to refresh the page to an empty form, then re-input everything and click the reCAPTCHA again.
Can you reset the reCAPTCHA if the form isn't valid so the user has to re-click it?
Thanks for the hard work!!!