Redirecting to the intended location Fortify Inertiajs

In the new Laravel version, there's no more Authenticate Middleware to change the route from login to auth.login, any fix to that? Would rather keep the name auth.login :).

ms_dan Member
ms_dan
0
1
74
alex Member
alex
Moderator
Solution

You can customise the redirects inside bootstrap/app.php

See the docs here :)

https://laravel.com/docs/11.x/authentication#redirecting-unauthenticated-users