@php $authUser = auth()->user(); $name = $authUser?->full_name ?: 'Admin'; $role = $authUser?->isSuperAdmin() ? 'Super Admin' : 'Admin'; $initials = collect(explode(' ', trim((string) $name))) ->filter() ->take(2) ->map(fn ($p) => mb_strtoupper(mb_substr($p, 0, 1))) ->implode(''); @endphp
{{ $name }} {{ $authUser?->email }}
Notifications @if ($authUser?->isSuperAdmin()) Controlled Settings @endif My tasks Trusted devices
{{-- D82: single logout — ends the central session for SSO logins, or just the local session for a PIN break-glass login (handled in the controller). --}}
@csrf