iachat/app/javascript/dashboard
Tanmay Deep Sharma 4014a846f0
feat: Add the frontend support for MFA (#12372)
FE support for https://github.com/chatwoot/chatwoot/pull/12290
## Linear:
- https://github.com/chatwoot/chatwoot/issues/486

## Description
This PR implements Multi-Factor Authentication (MFA) support for user
accounts, enhancing security by requiring a second form of verification
during login. The feature adds TOTP (Time-based One-Time Password)
authentication with QR code generation and backup codes for account
recovery.

## Type of change

- [ ] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

- Added comprehensive RSpec tests for MFA controller functionality
- Tested MFA setup flow with QR code generation
- Verified OTP validation and backup code generation
- Tested login flow with MFA enabled/disabled

## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Pranav <pranav@chatwoot.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2025-09-18 21:16:06 +05:30
..
api feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
assets chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00
components feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
components-next feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
composables feat: Add support for labels in automations (#11658) 2025-09-18 14:17:54 +05:30
constants chore: Enable flexible whatsapp onboarding (Manual + Embedded Signup) options (#12344) 2025-09-15 19:59:56 +05:30
helper feat: Add media_name support for WhatsApp templates document files (#12462) 2025-09-18 15:25:31 +05:30
i18n feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
mixins chore: Default file limits for private notes and reset attachment on mode switch (#12310) 2025-08-27 11:56:07 +05:30
modules feat(ee): Setup advanced, performant message search (#12193) 2025-08-28 10:10:28 +05:30
routes feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
store feat: Agent capacity policy Create/Edit pages (#12424) 2025-09-12 18:42:55 +05:30
App.vue feat: Agent language settings (#11222) 2025-09-09 14:27:36 +05:30
featureFlags.js feat: remove SAML from premium feature list (#12443) 2025-09-15 21:41:34 +05:30