I was curious why my authenticated user didn't persist to my error pages in Laravel.
Only noticing as the layout used for the error pages (header/footer) is the same as the rest of the site and the top right shows the authenticated user, shows a user nav, logout, etc.
Doing a quick Google search brought up some solutions but not necessarily a reason why authenticated users are not available on the error pages.
The reason not to have the authenticated user on the error page:
- What if the issue is with fetching the authenticated user?