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