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
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
Bump. Any ideas?
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.
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.
Thanks I'll give it a shot!
make sure you override the controller rather than changing the core file.