CluPilotCloud/app/Http/Middleware
nexxo 278c4b9953 Match the logout exemption through AdminArea, not a bare route check
The setup-route exemption already went through AdminArea::routeIs(),
which matches both admin.<name> and admin.via*.<name>. The logout
exemption next to it used a bare $request->routeIs('admin.logout'),
which matches only the canonical name — on a recovery hostname the
logout route is admin.via0.logout, so the check failed there and an
unenrolled operator's logout POST bounced back to enrolment instead
of being let through, on exactly the host that exists because the
canonical one is not working.
2026-07-28 15:27:06 +02:00
..
EnsureAdmin.php Move the console's identity out of the customer table 2026-07-28 10:31:43 +02:00
EnsureCustomerActive.php Stop a suspended customer's sign-out from killing a shared operator session 2026-07-28 15:02:00 +02:00
PublicSiteGate.php Stop a disabled operator from bypassing the hidden-site gate 2026-07-28 14:42:29 +02:00
RequireOperatorTwoFactor.php Match the logout exemption through AdminArea, not a bare route check 2026-07-28 15:27:06 +02:00
RestrictAdminHost.php Authorize the console's live feed on the operator guard, not the default 2026-07-28 13:31:50 +02:00
RestrictConsoleNetwork.php Give the three console guards one answer to "is this the console?" 2026-07-27 04:52:21 +02:00