framework: Laravel redirect to route not found on Auth Scaffold

  • Laravel Version: 5.7 (but 5.6 occurring too)
  • PHP Version: 7.2
  • Database Driver & Version: mysql 5.7

Description:

I make php artisan make:auth and change the home route, I prefer “dashboard” route, but when I log or register me and try access the login or register page, I receive route home with 404, but have “dashboard”

This occur with laravel 5.7 and 5.6 With anonymous mode browser, this is not occur.

Steps To Reproduce:

Make auth scaffold with “php artisan make:auth” Remove home route, and in auth controllers, change “/home” by “/dashboard”, Try register or login with another user with logout, you’ll redirect to route home and will receive 404 error

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Always this occur, I will have clean the cache? How I explain this to my client?