I don't think there is a core event for this... But if you can't find, just create it :) In your controller or wherever where you're putting your login logic, If the user checked remember me, fire off an event, like so:
// if the user checked remember me:
Event::fire('auth.session.new', array($user));
The thing is, its easy to track logins that go through auth::login but its not easy to track the new authenticated sessions that are logged in via a cookie (remember me).
i can add a field last_login to the db that updates when the user logins via auth::login but this doesnt update when the user returns and is authed via cookie
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community