I wanted to change the dashboard name to something else, but I see the auth redirect url is hardcoded to look for dashboard and home somewhere deep in the framework. So if I visit /login after already being authenticated, it redirects me to /dashboard, and if I change the dashboard route and name it takes me to the front page instead.
Is there an easy way to change this, should I create my own middleware perhaps? I could change the url and keep the name dashboard, but I'm hoping there's an easy solution. I was hoping I could just override the default function or something.
@tykus Hi, thank you for your nice direction; I want to have further restriction on role based access; for example i have created a new column in my user table as role; role have admin and user; normal user should not access admin pages; but admin should access all page; how to implement such logic here; thank you