@php use App\Services\Demo\DemoLogins; $adminOnly = $adminOnly ?? false; $portalOnly = $portalOnly ?? false; // Shown only when APP_DEMO is on AND the accounts really exist in the // users table — see App\Services\Demo\DemoLogins. There is no admin // toggle for this on purpose: a normal install never has APP_DEMO set, so // a buyer has nothing to switch off. $accounts = DemoLogins::accounts($adminOnly, $portalOnly); @endphp @if($accounts !== [])