php - Laravel 5.3 keep going to /home view -
kindly me solve auth redirect issue. currently i'm using laravel 5.3.22. put protected $redirectto = 'dashboard'; into logincontroller. then test redirect in browser: http://myapp.localhost/login it shows "login page" correctly. continue login, redirect me "dashboard" correctly. the issue here. after login, if tried go to http://myapp.localhost/login it redirect me "home" not available. should go "dashboard". please me. please in folder /app/http/middleware/ there should see following file redirectifauthenticated.php change from: public function handle($request, closure $next, $guard = null) { if (auth::guard($guard)->check()) { return redirect('/home'); } return $next($request); to : public function handle($request, closure $next, $guard = null) { if (auth::guard($guard)->check()) { return redirect('/dashboard...