CluPilotCloud/app/Livewire/Concerns
nexxo 164145463c
tests / pest (push) Failing after 7m15s Details
tests / assets (push) Successful in 21s Details
tests / release (push) Has been skipped Details
Send an operator with an expired session to sign in, not a 500
VpnConfigAccess::reveal() dereferenced Auth::guard('operator')->user()
unguarded, which is null when a modal's session has ended since it was
opened (a Livewire action reaches its component through /livewire/update
on its own, without the page's original route middleware). The same
unguarded pattern was in TwoFactorSetup, InstanceAdminAccess and Settings.

Add App\Livewire\Concerns\ResolvesOperator with currentOperator(), the one
place that resolves the operator and redirects to admin.login when there
isn't one, and use it everywhere the pattern occurred.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 18:09:22 +02:00
..
BuildsRunSteps.php feat(engine-b): live provisioning progress (admin console + customer dashboard) 2026-07-25 11:57:35 +02:00
ChangesOwnPassword.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
ConfirmsPassword.php Key the password-confirmation marker by guard and identity 2026-07-28 15:00:46 +02:00
ResolvesCustomer.php fix(portal): no silent no-ops without a customer; maintenance visible per instance; maintenance form redesign 2026-07-25 19:10:44 +02:00
ResolvesOperator.php Send an operator with an expired session to sign in, not a 500 2026-07-28 18:09:22 +02:00