towerops/test
Graham McIntire 264154a3d8
feat: implement sudo mode MFA-only verification controller
- Add UserSudoController with GET and POST /users/sudo/verify routes
- Create verify.html.heex template for TOTP verification form
- Only accept TOTP codes (6 numeric digits), reject recovery codes
- Update grant_sudo_mode to set authenticated_at virtual field
- Exclude /users/sudo paths from return_to overwriting
- Add comprehensive controller tests (12 test cases)
- Verify redirect behavior, error handling, and session management

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-01 14:34:17 -06:00
..
integration forgot password flow 2026-01-31 17:03:22 -06:00
snmpkit more tests and fixes 2026-01-31 16:00:07 -06:00
support remove passkeys for now 2026-01-31 09:50:35 -06:00
towerops fix: improve verify_totp_only validation logic 2026-02-01 14:24:19 -06:00
towerops_web feat: implement sudo mode MFA-only verification controller 2026-02-01 14:34:17 -06:00
test_helper.exs complete overhaul of snmp engine to C nif 2026-01-30 12:27:12 -06:00
towerops_native_test.exs complete overhaul of snmp engine to C nif 2026-01-30 12:27:12 -06:00