Setup reCAPTCHA v3 for sign-ups #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This would solve a lot spam bot sign-ups attempts, and is significantly nicer than v2 with all its puzzles.
This looks helpful: https://dev.to/morinoko/adding-recaptcha-v3-to-a-rails-app-without-a-gem-46jj
The view that would be altered is application.html.haml. This was not intuitive to find, but it is the front page so it makes sense.
Namely:
This is complete, and successfully blocking the sign-up bots!
There were 4 sign-up haml involved:
The next step will be to improve the
return render 'about'
code in app/controllers/application_controller.rb so it goes to an actual page rather than showing in the logs a DoubleRenderError. Also, it would be nice to prevent these bots from successfully registering their attempts in the user table in the database.