mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Merged in AD-555-prevent-email-enumeration (pull request #6)
removed messages indicating that the email is valid
This commit is contained in:
commit
80be7e67be
@ -50,7 +50,7 @@ let PasswordResetContainer = React.createClass({
|
||||
return (
|
||||
<div>
|
||||
<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>
|
||||
);
|
||||
@ -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);
|
||||
|
@ -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.',
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user