CluPilotCloud/routes
nexxo 27292237c3 Move operator two-factor enrolment off admin.settings onto its own page
RequireOperatorTwoFactor exempted the whole of admin.settings while
compulsory two-factor was on, on the theory that it was "the page
where two-factor is set up". That component also carries staff
management, site visibility, network restrictions, account changes,
and the two-factor policy switch itself, so an unenrolled operator got
unrestricted access to all of that, not just enrolment.

Enrolment (secret, QR, confirm, recovery codes, regenerate, disable)
moves to its own route and component, admin.two-factor-setup /
Admin\TwoFactorSetup, reachable by every operator regardless of
capability. That is now the only page the middleware exempts besides
logout, and its redirect points there instead. admin.settings goes
back behind the policy like every other console page; only the policy
switch itself stays there, since only someone who already satisfies
it should be the one changing it.
2026-07-28 15:11:20 +02:00
..
admin-guest.php Give the console a front door of its own 2026-07-28 11:45:22 +02:00
admin.php Move operator two-factor enrolment off admin.settings onto its own page 2026-07-28 15:11:20 +02:00
channels.php Authorize the console's live feed on the operator guard, not the default 2026-07-28 13:31:50 +02:00
console.php Move the console off /admin, give the status page its own address, and measure monitoring 2026-07-27 06:05:40 +02:00
web.php Let the owner make two-factor compulsory, without locking themselves out 2026-07-28 12:08:08 +02:00