You are here

function ip_login_ip_address in IP Login 7.3

Helper function to return IP address for easy test/debug

4 calls to ip_login_ip_address()
ip_login_attempt_login in ./ip_login.module
Checks the request IP and logs user in there's a match by calling ip_login_check then ip_login_attempt_login
ip_login_boot in ./ip_login.module
Implementation of hook_boot().
ip_login_form_alter in ./ip_login.module
Implementation of hook_form_alter().
_ip_login_can_login_as_another_user in ./ip_login.module

File

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

Code

function ip_login_ip_address() {
  return ip_address();
}