Route::middleware(['auth'], function(){
// Some route
})
but i want to specify what route to redirect to if the auth fails.
In the previous versions of laravel, i usually go into the auth middleware andspecify the redirect route, but with this new laravel 11, I am a bit confused on where or what to do.
since "Illuminate\Auth\Middleware" and "Illuminate\Auth" are now path of the framework and cannot be changed