Currently, Laravel redirects the user to a different URL if he isn't logged in (eg /auth/login). /auth/login contains logic to check if a user has supplied login credentials, in which case they are redirected to another page (eg /home).
(Is this correct? I'm still learning.)
I'd like to change this functionality. Ideally, when a user visits / or /index.php, Laravel would detect that he's not logged in and would return a different view (the login form) and not redirect. The user would see /#/users in the navigation bar, not /auth/login. The login form would submit to the same page.
Now, when Laravel detects that the user isn't logged in but Auth::check() works, it would log the user in and continue with the original view.
The reason I'd like to do this is so that Angular view navigation still works. Because of the redirect, the #param (/#/users) is lost and we can only redirect the user to the dashboard.
Is this possible is Laravel? I'd be satisfied with learning where all the current functionality is hidden so I can start there.