zerobyte/app/server/modules/auth
Jakub Trávník a4d0c7b0c9 feat: add two-factor authentication (TOTP) support
- Add 2FA endpoints for setup, enable, disable, and verify
- Encrypt TOTP secrets with AES-256-GCM before storing
- Require password for both enabling and disabling 2FA
- Invalidate all sessions when 2FA status changes
- Add QR code display using qrcode.react (client-side)
- Add 2FA verification step in login flow
- Add CLI recovery command: 2fa disable -u <username>
- Add success variant to Badge component
- Update README with 2FA documentation
2026-01-03 00:19:04 +01:00
..
auth.controller.ts feat: add two-factor authentication (TOTP) support 2026-01-03 00:19:04 +01:00
auth.dto.ts feat: add two-factor authentication (TOTP) support 2026-01-03 00:19:04 +01:00
auth.middleware.ts refactor: unify backend and frontend servers (#3) 2025-11-13 20:11:46 +01:00
auth.service.ts feat: add two-factor authentication (TOTP) support 2026-01-03 00:19:04 +01:00