1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

removed messages indicating that the email is valid

This commit is contained in:
Sylvain Bellemare 2015-07-13 14:34:17 +02:00
parent 11545c13a6
commit 1497ed45eb
2 changed files with 5 additions and 2 deletions

View File

@ -50,7 +50,7 @@ let PasswordResetContainer = React.createClass({
return ( return (
<div> <div>
<div className="ascribe-login-text ascribe-login-header"> <div className="ascribe-login-text ascribe-login-header">
{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.')}
</div> </div>
</div> </div>
); );
@ -64,7 +64,7 @@ let PasswordResetContainer = React.createClass({
let PasswordRequestResetForm = React.createClass({ let PasswordRequestResetForm = React.createClass({
handleSuccess() { 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); let notification = new GlobalNotificationModel(notificationText, 'success', 50000);
GlobalNotificationActions.appendGlobalNotification(notification); GlobalNotificationActions.appendGlobalNotification(notification);
this.props.handleRequestSuccess(this.refs.form.refs.email.state.value); this.props.handleRequestSuccess(this.refs.form.refs.email.state.value);

View File

@ -209,6 +209,7 @@ const languages = {
'Create editions': 'Create editions', 'Create editions': 'Create editions',
'I agree to the Terms of Service': 'I agree to the Terms of Service', 'I agree to the Terms of Service': 'I agree to the Terms of Service',
'read': 'read', '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': { 'de': {
'ID': 'ID', 'ID': 'ID',
@ -418,6 +419,7 @@ const languages = {
'Create editions': 'Create editions', 'Create editions': 'Create editions',
'I agree to the Terms of Service': 'I agree to the Terms of Service', 'I agree to the Terms of Service': 'I agree to the Terms of Service',
'read': 'read', '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': { 'fr': {
'ID': 'ID', 'ID': 'ID',
@ -627,6 +629,7 @@ const languages = {
'Create editions': 'Create editions', 'Create editions': 'Create editions',
'I agree to the Terms of Service': 'I agree to the Terms of Service', 'I agree to the Terms of Service': 'I agree to the Terms of Service',
'read': 'read', '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.',
} }
}; };