From e8de936ad591000d817ce43d15b304fe01b0b909 Mon Sep 17 00:00:00 2001 From: Anthony Hull Date: Sun, 5 Dec 2021 21:08:59 +0000 Subject: [PATCH 01/96] replacing Set Password form with error --- src/languages/en.js | 2 +- src/pages/SetPasswordPage.js | 45 ++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/languages/en.js b/src/languages/en.js index e12cde9a95ab..0c3e3c42d5a7 100755 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -449,7 +449,7 @@ export default { newPasswordPrompt: 'Your password must have at least 8 characters, 1 capital letter, 1 lowercase letter, and 1 number.', passwordFormTitle: 'Welcome back to the New Expensify! Please set your password.', passwordNotSet: 'We were unable to set your new password correctly.', - accountNotValidated: 'We were unable to validate your account. The validation code may have expired.', + accountNotValidated: 'This set password link is invalid or has expired. A new one is waiting for you in your email inbox!', }, stepCounter: ({step, total}) => `Step ${step} of ${total}`, bankAccount: { diff --git a/src/pages/SetPasswordPage.js b/src/pages/SetPasswordPage.js index 67a3828c1b32..43c9bb1c912b 100755 --- a/src/pages/SetPasswordPage.js +++ b/src/pages/SetPasswordPage.js @@ -97,29 +97,28 @@ class SetPasswordPage extends Component { shouldShowWelcomeText welcomeText={this.props.translate('setPasswordPage.passwordFormTitle')} > - - this.setState({password})} - updateIsFormValid={isValid => this.setState({isFormValid: isValid})} - onSubmitEditing={this.validateAndSubmitForm} - /> - - -