From 1497ed45eb36c8260b376f77c1f6e6bcd2e43d5a Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Mon, 13 Jul 2015 14:34:17 +0200 Subject: [PATCH] removed messages indicating that the email is valid --- js/components/password_reset_container.js | 4 ++-- js/constants/languages.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/js/components/password_reset_container.js b/js/components/password_reset_container.js index 20a35b16..5ab258b0 100644 --- a/js/components/password_reset_container.js +++ b/js/components/password_reset_container.js @@ -50,7 +50,7 @@ let PasswordResetContainer = React.createClass({ return (
- {getLangText('An email has been sent to')} "{this.state.isRequested}" + {getLangText('If your email address exists in our database, you will receive a password recovery link in a few minutes.')}
); @@ -64,7 +64,7 @@ let PasswordResetContainer = React.createClass({ let PasswordRequestResetForm = React.createClass({ handleSuccess() { - let notificationText = getLangText('Request successfully sent, check your email'); + let notificationText = getLangText('If your email address exists in our database, you will receive a password recovery link in a few minutes.'); let notification = new GlobalNotificationModel(notificationText, 'success', 50000); GlobalNotificationActions.appendGlobalNotification(notification); this.props.handleRequestSuccess(this.refs.form.refs.email.state.value); diff --git a/js/constants/languages.js b/js/constants/languages.js index 78c2b148..c21bd0ad 100644 --- a/js/constants/languages.js +++ b/js/constants/languages.js @@ -209,6 +209,7 @@ const languages = { 'Create editions': 'Create editions', 'I agree to the Terms of Service': 'I agree to the Terms of Service', 'read': 'read', + 'If your email address exists in our database, you will receive a password recovery link in a few minutes.': 'If your email address exists in our database, you will receive a password recovery link in a few minutes.', }, 'de': { 'ID': 'ID', @@ -418,6 +419,7 @@ const languages = { 'Create editions': 'Create editions', 'I agree to the Terms of Service': 'I agree to the Terms of Service', 'read': 'read', + 'If your email address exists in our database, you will receive a password recovery link in a few minutes.': 'If your email address exists in our database, you will receive a password recovery link in a few minutes.', }, 'fr': { 'ID': 'ID', @@ -627,6 +629,7 @@ const languages = { 'Create editions': 'Create editions', 'I agree to the Terms of Service': 'I agree to the Terms of Service', 'read': 'read', + 'If your email address exists in our database, you will receive a password recovery link in a few minutes.': 'Si votre adresse électronique existe dans notre base de données, vous recevrez un lien de récupération de mot de passe dans quelques minutes.', } };