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>
82 lines
2.3 KiB
JavaScript
82 lines
2.3 KiB
JavaScript
import advancedFilters from './advancedFilters.json';
|
|
import agentBots from './agentBots.json';
|
|
import agentMgmt from './agentMgmt.json';
|
|
import attributesMgmt from './attributesMgmt.json';
|
|
import auditLogs from './auditLogs.json';
|
|
import automation from './automation.json';
|
|
import bulkActions from './bulkActions.json';
|
|
import campaign from './campaign.json';
|
|
import cannedMgmt from './cannedMgmt.json';
|
|
import chatlist from './chatlist.json';
|
|
import components from './components.json';
|
|
import contact from './contact.json';
|
|
import contactFilters from './contactFilters.json';
|
|
import conversation from './conversation.json';
|
|
import csatMgmt from './csatMgmt.json';
|
|
import customRole from './customRole.json';
|
|
import datePicker from './datePicker.json';
|
|
import emoji from './emoji.json';
|
|
import general from './general.json';
|
|
import generalSettings from './generalSettings.json';
|
|
import helpCenter from './helpCenter.json';
|
|
import inbox from './inbox.json';
|
|
import inboxMgmt from './inboxMgmt.json';
|
|
import integrationApps from './integrationApps.json';
|
|
import integrations from './integrations.json';
|
|
import labelsMgmt from './labelsMgmt.json';
|
|
import login from './login.json';
|
|
import macros from './macros.json';
|
|
import report from './report.json';
|
|
import resetPassword from './resetPassword.json';
|
|
import search from './search.json';
|
|
import setNewPassword from './setNewPassword.json';
|
|
import settings from './settings.json';
|
|
import signup from './signup.json';
|
|
import sla from './sla.json';
|
|
import teamsSettings from './teamsSettings.json';
|
|
import whatsappTemplates from './whatsappTemplates.json';
|
|
import contentTemplates from './contentTemplates.json';
|
|
import mfa from './mfa.json';
|
|
|
|
export default {
|
|
...advancedFilters,
|
|
...agentBots,
|
|
...agentMgmt,
|
|
...attributesMgmt,
|
|
...auditLogs,
|
|
...automation,
|
|
...bulkActions,
|
|
...campaign,
|
|
...cannedMgmt,
|
|
...chatlist,
|
|
...components,
|
|
...contact,
|
|
...contactFilters,
|
|
...conversation,
|
|
...csatMgmt,
|
|
...customRole,
|
|
...datePicker,
|
|
...emoji,
|
|
...general,
|
|
...generalSettings,
|
|
...helpCenter,
|
|
...inbox,
|
|
...inboxMgmt,
|
|
...integrationApps,
|
|
...integrations,
|
|
...labelsMgmt,
|
|
...login,
|
|
...macros,
|
|
...report,
|
|
...resetPassword,
|
|
...search,
|
|
...setNewPassword,
|
|
...settings,
|
|
...signup,
|
|
...sla,
|
|
...teamsSettings,
|
|
...whatsappTemplates,
|
|
...contentTemplates,
|
|
...mfa,
|
|
};
|