user()->isSuperAdmin()) { abort(403, 'Unauthorized. Super Admin only.'); } $logs = LoginLog::with('user.tenant') ->orderBy('login_at', 'desc') ->paginate(50); return Inertia::render('Admin/Logs', [ 'logs' => $logs ]); } }