Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Drupal/ register only one account per IP

May 29, 2013 by carebare
I am running my website on Drupal 7 and I want to restrict registry so that a specific IP can register only once. Is there a module that I can use for this? Any help is appreciated

1 Answer

0 votes
May 29, 2013 by randy999
You have to add an IP field to your user entity. This  might be simple to populate (check the field with Rules module)
Rule1 when the user registers, IP field is populate d with their IP.
Rule2 when the users logs in, their IP is checked to match the field, or else logout.