Files
Virtnet.bond/extensions/Servers/Proxmox/Livewire/Index.php
Joseph.Rawlings 68043f0416 fix(proxmox): harden console sessions and firewall rollout safety
Reduce security and reliability risk across the Proxmox extension by removing password exposure from Livewire state, hardening console auth/cookie handling, and improving sanitized error paths. Improve firewall and router performance by adding safer lazy loading, bounded pagination, cross-server compatibility guards, and lower-overhead API workflows.

Made-with: Cursor
2026-03-28 19:34:46 -04:00

23 lines
571 B
PHP

<?php
namespace Paymenter\Extensions\Servers\Proxmox\Livewire;
use App\Livewire\Component;
use Illuminate\Support\Facades\Auth;
use Paymenter\Extensions\Servers\Proxmox\Models\Server;
class Index extends Component
{
public function render()
{
return view('proxmox::index', [
'servers' => Server::where('user_id', Auth::id())
->with(['primaryIpv4', 'primaryIpv6', 'service.product', 'node'])
->orderBy('id')
->get(),
])->layoutData([
'sidebar' => true,
]);
}
}