You are here

function ip_login_user_form_submit in IP Login 7.2

File

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

Code

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