You are here

function ip_login_user_insert in IP Login 7.2

Implements hook_user_insert().

File

./ip_login.module, line 305
Allow user login by IP addresses, ranges or wildcards.

Code

function ip_login_user_insert(&$edit, $account, $category) {
  _ip_login_set_user_range($account->uid, isset($edit['ip_login_match']) ? trim(check_plain($edit['ip_login_match'])) : NULL);
}