laravel/framework — pull request #5900 by tomhorvat (2014-09-28 22:17:36+00:00)
Title: [5.0] Create new session and fire 'auth.login' event when user authenticates via remember me cookie

When user authenticates via form (and form has remember me cookie), session is created that holds user info/id. On browser close or session expiry, user must login again or is authenticated via remember me cookie.

I think that in that process, new session should be created and 'auth.login' event should be fired.

User, who explicitly stated via remember me checkbox that wants to be automatically logged in, returns to site (after certain time) and is logged in via cookie -- that process of automated login deserves to be treated as login and I believe session should be created and event should be raised.

In my case, I use example from docs to register when was a last user login:

```
Event::listen('auth.login', function($user)
{
$user->last_login = new DateTime;

$user->save();
});
```

Until now, when a user is logged in via cookie, no event is fired and user is never updated as returned and date shows his last login from form, even though user returned to site and was logged in via cookie.