1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #610 from pixelfed/frontend-ui-refactor

Update LogFailedLogin listener
This commit is contained in:
daniel 2018-11-29 15:31:52 -07:00 committed by GitHub
commit b3c4c7dab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;