Update LogFailedLogin listener

This commit is contained in:
Daniel Supernault 2018-11-29 15:30:38 -07:00
parent bc52949ecd
commit 4a0b88a73b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -30,6 +30,10 @@ class LogFailedLogin
$user = $event->user;
$request = request();
if(!$user) {
return;
}
$log = new AccountLog();
$log->user_id = $user->id;
$log->item_id = $user->id;