auth()->user() inside AdminPanel Provider

When i use this dd(auth()->user()); inside of the admin panel provider i have this error. Target class [hash] does not exist. how it's possible to use this
1 Reply
Lara Zeus
Lara Zeus15mo ago
you need to call it in closure fn()=>dd(auth()->user())
Want results from more Discord servers?
Add your server