Auth-User not found in illustrated-error-layout #39132
Unanswered
Assimilationstheorie
asked this question in
Q&A
Replies: 2 comments
-
Same issue here. Laravel 8.75.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
this seems to fix the problem, Last line in routes/web.php
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I want to include different redirect buttons for @auth and @guest on error pages. The user who logs in via Jetstream and gets a 404 should be redirected to the dashboard. The @guest, of course, should not.
When I change the layout of errors to "illustrated-layout" & try to work with @auth and @guest there, it always shows me the div of @guest.
dd(auth()->user())
returnednull
.Beta Was this translation helpful? Give feedback.
All reactions