Update to logauthfailure
This commit is contained in:
parent
e93abd2ab7
commit
ac8b303e2c
|
@ -27,7 +27,7 @@ class LogAuthenticationFailure
|
||||||
public function handle($event)
|
public function handle($event)
|
||||||
{
|
{
|
||||||
Log::alert('SECURITY (login): Detected failed authentication attempt!', [
|
Log::alert('SECURITY (login): Detected failed authentication attempt!', [
|
||||||
'targetAccountID' => $event->user->id,
|
'targetAccountID' => $event->user->id ?? '(nonexistent user)',
|
||||||
'sourceIP' => request()->ip(),
|
'sourceIP' => request()->ip(),
|
||||||
'matchesAccountLastIP' => request()->ip() == $event->user->originalIP,
|
'matchesAccountLastIP' => request()->ip() == $event->user->originalIP,
|
||||||
'sourceUserAgent' => request()->userAgent(),
|
'sourceUserAgent' => request()->userAgent(),
|
||||||
|
|
Loading…
Reference in New Issue