Skip to content

Commit

Permalink
Changed unvalidated account flag to validation expired
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayasalvi committed Dec 1, 2021
1 parent 46cd66d commit 4b4f0ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/signin/ResendValidationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ class ResendValidationForm extends React.Component {
login,
loginType,
});
} else if (isOldUnvalidatedAccount) {
message = this.props.translate('resendValidationForm.unvalidatedAccount');
} else if (this.props.account.validateCodeExpired) {
} else if (isOldUnvalidatedAccount || this.props.account.validateCodeExpired) {
message = this.props.translate('resendValidationForm.validationCodeFailedMessage');
} else {
message = this.props.translate('resendValidationForm.weSentYouMagicSignInLink', {
Expand Down

0 comments on commit 4b4f0ce

Please sign in to comment.