Changing Redirect Location After Successful Login in Laravel

By default, after successful login Laravel AuthController redirects you to the home page. However, you can override this behaviour and redirect the user to a custom location.

Must Read : Laravel 5 Pagination

In order to to change the redirect location after successful login, add the following property to your AuthController.php ( File Location : app/Http/Controllers/Auth/AuthController.php ).

protected $redirectPath = '/';



Leave a Comment.