mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-07-13 21:08:19 +08:00
## 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: Sojan Jose <sojan@pepalo.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> |
||
|---|---|---|
| .. | ||
| channel | ||
| concerns | ||
| enterprise/audit | ||
| integrations | ||
| .keep | ||
| account_spec.rb | ||
| account_user_spec.rb | ||
| agent_bot_inbox_spec.rb | ||
| agent_bot_spec.rb | ||
| article_spec.rb | ||
| assignment_policy_spec.rb | ||
| attachment_spec.rb | ||
| automation_rule_spec.rb | ||
| campaign_spec.rb | ||
| category_spec.rb | ||
| contact_inbox_spec.rb | ||
| contact_spec.rb | ||
| conversation_participants_spec.rb | ||
| conversation_spec.rb | ||
| csat_survey_response_spec.rb | ||
| data_import_spec.rb | ||
| folder_spec.rb | ||
| inbox_member_spec.rb | ||
| inbox_spec.rb | ||
| installation_config_spec.rb | ||
| label_spec.rb | ||
| macro_spec.rb | ||
| mention_spec.rb | ||
| message_spec.rb | ||
| note_spec.rb | ||
| notification_setting_spec.rb | ||
| notification_spec.rb | ||
| platform_app_permissible_spec.rb | ||
| platform_app_spec.rb | ||
| portal_spec.rb | ||
| related_category_spec.rb | ||
| reporting_event_spec.rb | ||
| team_member_spec.rb | ||
| team_spec.rb | ||
| user_spec.rb | ||
| webhook_spec.rb | ||
| working_hour_spec.rb | ||