auth()->user()->is_admin inside AdminPanel Provider return null

How to fix it plase ? like this method
No description
1 Reply
christmex
christmex3mo ago
when u dd(auth()->user()) wht is return? the model? is that attribute for is_admin? i use the auth()->user() too in my project and it works