[Vuejs]-Validating Google Recaptcha 2 in Vue/Nuxt

0👍

You need to plug the recaptcha in a manner that it is required to have a successful test to submit the form. As you can see, on the official docs of Google, they will handle the challenge for the user (or bot) and send you a success, either false or true.
If it does not pass, do not allow them to submit the form. If they do disable the JS, they will not be able to submit it neither ofc.

And yeah, a recaptcha works well against bots, it’s the goal of it. Some low recaptchas can be a bit too naive and data bots could detect some patterns and still succeed a submission but they are a few and you can still go for a score of 1 or 0.9. It basically determines "how much are you human", 1 guarantees that it’s really unlikely that it’s a bot.

Why isn’t the submission blocked in your case ? It’s the thing that you need to investigate or post a question with it’s content.

This module is aimed towards Nuxt, so it may help be a good start.

Leave a comment