How can I use visitor and authentication middleware for the same route?
I need a screen to be accessed both by those who have logged in and by visitors, however I wanted to use auth()->user() on this page to access the data, however if I use the auth middleware it does not allow visitors on the page and if I Don’t use it, I can’t use auth()->user()