Honeypot Fields for Bot Prevention on Signup?

Hi

I’m looking to add a honeypot field to the signup form to block bots. The idea is to create a hidden field like “Phone Number” or “URL” (hidden via CSS), and if a bot fills it, the registration is blocked.

Would this be possible using custom user fields? If so, how would I go about implementing it?

I came across this thread, but I’m not sure if it can be used for this purpose.

Thanks !

I think there was some work recently done with being able to alter the sign up form. Dig around a little bit, I can’t find it quickly but I think what you are wanting to do should be possible

Discourse core already has a hidden ‘honeypot’ system in the signup forms, so I don’t think you’ll be able to gain much by adding an additional one.

5 Likes

This post might help