Ban domains from signing up

Permalink
Hi Everyone,

Is there a way to prevent email addresses from specific domains from signing up to my site as a member?

I don't wish to use IP banning but I'm getting some spam signups from specific domains that I want to prevent.

Many thanks,
Mike

designserve
 
designserve replied on at Permalink Reply
designserve
Bump. Any ideas?
WebcentricLtd replied on at Permalink Reply
hi,
I think the only way you'd be able to do this would be to add some custom code to the login controller.

Find where the details are picked up from the registration form and reject any where the last 2 parts of the email address = baddomain.com or somethung like that.
designserve replied on at Permalink Reply
designserve
Thanks I'll give it a shot!
WebcentricLtd replied on at Permalink Reply
make sure you override the controller rather than changing the core file.