I wanted to change the route URL and the login route name to some custom name and hence i made the changes in the “src/Illuminate/Routing/Router.php” file after line#1149.
But when i wanted to test the exception handling that occurs when a ‘non-logged-in’ user tries to access the admin/roles, and admin/permissions etc. pages, it shows the following error:
But the error stack doesn’t show in which file the [login] route is called or redirected. I’m unable to locate where route(‘login’) is being called.
Thanks in advance