rappasoft / laravel-authentication-log

Log user authentication details and send new device notifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Logout Listener grabs first instead of latest

logan-jobzmall opened this issue · comments

When logging out, the Logout Listener grabs the first occurrence of the log for that user at that ip, and then updates the logout_at of that one, which was not the latest record.

I wouldn't mind contributing to this project if you don't have time to fix it.

If you do have time it would be appreciated!

Done, thanks.