laravel - L5 : Changing the redirection after a login -


i want change redirections after login/logout.

in auth/authcontrolleri defined

protected $redirectafterlogout = '/'; protected $redirectto = '/'; 

the logout route : root, login rectirection still /home....

and using protected $redirectpath ='/'doesn't resolve problem

in redirectifauthenticated

public function handle($request, closure $next) {      if ($this->auth->check())     {         return new redirectresponse(url('/'));     }      return $next($request); } 

Comments