XF 1.5 Block custom user fields

m1ne

Well-known member
Hey.

I have 2 custom user fields set, and they appear during registration. Lately I've noticed that every single spam account puts the same word in these custom user fields.
Is there a way I can block these words?

Thank you.
 
It would have to be a bit hacky using a regular expression to not match, but that's not ideal (and it'd take testing to ensure the correct regex was written). Alternatively, it could be done with a PHP callback for the value match requirements, but it would require some custom code to hook that up.
 
Top Bottom