You are here

function hook_login_history_detection_results in Login History 7

Allow modules to react to the login history data.

Parameters

int $login_id: The primary key login_id of login_history.

array $detection: The array of all detections for this login.

string $device_id: The current device ID.

string $old_device_id: The old device ID from the last login.

object $account: The user object for the user logging in to the site.

1 function implements hook_login_history_detection_results()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

lhfingerprintjs2_login_history_detection_results in lhfingerprintjs2/lhfingerprintjs2.module
Implements hook_login_history_detection_results().
1 invocation of hook_login_history_detection_results()
login_history_user_login in ./login_history.module
Implements hook_user_login().

File

./login_history.api.php, line 42
Documentation for Login History module API.

Code

function hook_login_history_detection_results($login_id, $detection, $old_device_id, $device_id, $account) {
}