Open rocramer opened 5 years ago
You also need to apply web
middleware.
[
'uri' => "{$route_prefix}/panel",
'name' => 'pragmarx.health.panel',
'action' => "{$namespace}@panel",
'middleware' => [
'web',
'auth',
],
],
If I try to apply the
auth
middleware to the routes, I get redirected to the home page even though I'm logged in. Theauth.basic
middleware is working fine.Is this a known issue or am I doing something wrong?
Thanks!