auth()->user()->is_admin inside AdminPanel Provider return null
How to fix it plase ? like this method
1 Reply
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