Open Sadicko opened 4 years ago
I get below error when using horizon with multi-auth. It makes horizon dashboard inaccessible.
I set the $user to null in the horizon gate but still interfering.
Call to a member function pluck() on null
` protected function isSuperAdmin($admin) { return in_array('super', $admin->roles->pluck('name')->toArray()); }
}`
I get below error when using horizon with multi-auth. It makes horizon dashboard inaccessible.
I set the $user to null in the horizon gate but still interfering.
Call to a member function pluck() on null
` protected function isSuperAdmin($admin) { return in_array('super', $admin->roles->pluck('name')->toArray()); }
}`