laravel/framework — pull request #6622 by miclf (2014-12-11 09:53:05+00:00)
Title: [5.0] Redirect User to Intended Url After Login

Redirect the logged in user to the intended URL if one exists instead of forcing her to go to the defined redirect path.

This nicely complements the `redirect()->guest('auth/login')` in the built-in [Authenticate middleware](https://github.com/laravel/laravel/blob/develop/app/Http/Middleware/Authenticate.php#L44).