I want to send data from a logincontroller to routes/web.php.
In my LoginController.php I have
return redirect() ->intended(\'/dashboard\')