mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Wrap IP in json
This commit is contained in:
parent
50ba43c2e4
commit
0a5b4fe7e2
@ -67,8 +67,10 @@ class UpdateUserLastLogin implements ShouldQueue
|
|||||||
$user->save();
|
$user->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$arr = json_encode(['ip' => $ip]);
|
||||||
|
|
||||||
SystemLogger::dispatch(
|
SystemLogger::dispatch(
|
||||||
$ip,
|
$arr,
|
||||||
SystemLog::CATEGORY_SECURITY,
|
SystemLog::CATEGORY_SECURITY,
|
||||||
SystemLog::EVENT_USER,
|
SystemLog::EVENT_USER,
|
||||||
SystemLog::TYPE_LOGIN_SUCCESS,
|
SystemLog::TYPE_LOGIN_SUCCESS,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user