canAccessPanel Redirection loop

public function canAccessPanel(Panel $panel): bool
{

if ($panel->getId() === 'admin') {
return true;
}

}
Was this page helpful?