where('uuid', $uuid)->firstOrFail(); $this->authorize('update', $peer); abort_if($peer->kind !== VpnPeer::KIND_STAFF, 404); $this->uuid = $uuid; $this->name = $peer->name; } public function confirm(): void { $this->dispatch('vpn-peer-reissue-confirmed', uuid: $this->uuid); $this->closeModal(); } public function render() { return view('livewire.admin.confirm-reissue-vpn-peer'); } }