netcore
4 years ago

Update user last_seen_at if user is authenticated

Posted 4 years ago by netcore

Hello. How can I update user last_seen_at on every page load?

Where I have to execute update command to update user data, if he is logged in? I have route group with middleware for user login check.

thanks

Please sign in or create an account to participate in this conversation.