Drupal/ register only one account per IP

132 views
asked May 29, 2013 in Website Builder by carebare (1,420 points)
Hi..
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
Thanks

1 Answer

0 like 0 dislike
answered May 29, 2013 by randy999 (4,520 points)
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.
...