Laravel multi auth protecting route multple middleware not working
问题 I have created an extra middleware admin and I want to protect my routes. Adding one single middleware 'auth' or 'auth:admin' is working. Route::get('/calendar', function () { return view('app', ['data' => []); })->middleware('auth'); But I want that as an admin you can also access the user routes but this is not working. If I try the following, and I log in as an admin I get redirected to the login page all the time. Route::get('/information', ['middleware' => ['auth', 'auth:admin'],