CortenDesk 1.0.5 fixes two-factor enrollment
CortenDesk 1.0.5 fixes two-factor enrollment under enforcement and adds a break-glass command for the requirement.
Two-factor enrollment works under enforcement
CortenDesk 1.0.5 fixes a lockout path for two-factor authentication.
When the two-factor requirement was already switched on, enabling 2FA could reload the setup screen on every click instead of showing the QR code. That could leave un-enrolled users, including admins, unable to finish setup.
Enrollment under enforcement now works end to end: sign in, get sent to the setup screen, scan, confirm, done.
Break-glass command for the requirement
There is a new command for the locked-out-before-anyone-enrolled case:
php artisan cortendesk:2fa-requirement status|off
Use it to check or switch off the two-factor requirement itself. cortendesk:2fa-reset now points to this command when the requirement is what blocks access.
Settings saves show the failing field
A settings save that failed validation on another tab could look like the Save button did nothing. The screen now jumps to the failing field and says the settings were not saved.
The repository also no longer ships the development test suites and local test rigs.
Updating
This update is strongly recommended if you require two-factor authentication or plan to. There are no migrations. Upgrade is a pull and restart.
docker pull marcpope/cortendesk:1.0.5
docker pull ghcr.io/marcpope/cortendesk:1.0.5
Read the full release notes.