From dd2db41fbff66c00458664707818c2a31dcf4aee Mon Sep 17 00:00:00 2001
From: TheInvincible <139259364+TheInvincibleRalph@users.noreply.github.com>
Date: Fri, 11 Oct 2024 14:36:48 +0100
Subject: [PATCH] [MM-60825] Replace FormattedMarkdownMessage in
'webapp/channels/src/components/mfa/setup/setup.tsx' with FormattedMessage
(#28628)
---
.../src/components/mfa/setup/setup.tsx | 26 ++++++++++++-------
webapp/channels/src/i18n/en.json | 6 ++---
2 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/webapp/channels/src/components/mfa/setup/setup.tsx b/webapp/channels/src/components/mfa/setup/setup.tsx
index d59c11e6d6..d448d5807a 100644
--- a/webapp/channels/src/components/mfa/setup/setup.tsx
+++ b/webapp/channels/src/components/mfa/setup/setup.tsx
@@ -7,7 +7,6 @@ import {FormattedMessage, injectIntl, type IntlShape} from 'react-intl';
import type {UserProfile} from '@mattermost/types/users';
import ExternalLink from 'components/external_link';
-import FormattedMarkdownMessage from 'components/formatted_markdown_message';
import * as Utils from 'utils/utils';
@@ -134,11 +133,12 @@ class Setup extends React.PureComponent
-
-
-
diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json
index 06eaf41d91..2522f567b9 100644
--- a/webapp/channels/src/i18n/en.json
+++ b/webapp/channels/src/i18n/en.json
@@ -4252,12 +4252,12 @@
"mfa.setup.badCode": "Invalid code. If this issue persists, contact your System Administrator.",
"mfa.setup.code": "MFA Code",
"mfa.setup.codeError": "Please enter the code from Google Authenticator.",
- "mfa.setup.required": "**Multi-factor authentication is required on {siteName}.**",
+ "mfa.setup.required_mfa": "Multi-factor authentication is required on {siteName}.",
"mfa.setup.save": "Save",
"mfa.setup.secret": "Secret: {secret}",
"mfa.setup.step1": "Step 1: On your phone, download Google Authenticator from