Skip to content

Guard intefering with horizon #130

Open
@Sadicko

Description

@Sadicko

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());
}

}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions