- Framework: Laravel 9.x
I'm attempting to use custom error pages. These are located in the default location: /resources/views/errors/....
These load as expected. However, they extend the base view template. This template uses the auth()->user() functionality to make decisions on visible menus.
The auth()->user() does not work on the error views. Note that it works as expected on other views.
How do I load the authenticated user for these error file views?
Thanks in advance.