Commit 39275e06 authored by Sudheer's avatar Sudheer Committed by GitHub

Remove html from password_send.link en.json key (#1419)

parent 0d382a24
......@@ -5,7 +5,7 @@ import $ from 'jquery';
import PropTypes from 'prop-types';
import React from 'react';
import ReactDOM from 'react-dom';
import {FormattedHTMLMessage, FormattedMessage} from 'react-intl';
import {FormattedMessage} from 'react-intl';
import {isEmail} from 'mattermost-redux/utils/helpers';
......@@ -52,13 +52,14 @@ class PasswordResetSendLink extends React.Component {
error: null,
updateText: (
<div className='reset-form alert alert-success'>
<FormattedHTMLMessage
<FormattedMessage
id='password_send.link'
defaultMessage='If the account exists, a password reset email will be sent to: <br/><b>{email}</b><br/><br/>'
values={{
email,
}}
defaultMessage='If the account exists, a password reset email will be sent to:'
/>
<div>
<b>{email}</b>
</div>
<br/>
<FormattedMessage
id='password_send.checkInbox'
defaultMessage='Please check your inbox.'
......
......@@ -2726,7 +2726,7 @@
"password_send.description": "To reset your password, enter the email address you used to sign up",
"password_send.email": "Email",
"password_send.error": "Please enter a valid email address.",
"password_send.link": "If the account exists, a password reset email will be sent to: <br/><b>{email}</b><br/><br/>",
"password_send.link": "If the account exists, a password reset email will be sent to:",
"password_send.reset": "Reset my password",
"password_send.title": "Password Reset",
"pdf_preview.max_pages": "Download to read more pages",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment