Amend forgotten password email send confirmation

This commit is contained in:
Maciej Ziarkowski 2019-11-14 16:17:05 +00:00
parent 96b4a73573
commit e833c4dd3b

View File

@ -62,7 +62,7 @@ export default class ForgottenPassword extends React.Component<{}, ForgottenPass
<ErrorBox msg={this.state.error} /> <ErrorBox msg={this.state.error} />
<InfoBox msg=""> <InfoBox msg="">
{this.state.success ? {this.state.success ?
`A password reset link has been sent to ${this.state.emailUsed}. Please check your inbox.` : `If the email address is registered on Colouring London, a password reset link will be sent to ${this.state.emailUsed}. Please check your inbox.` :
null null
} }
</InfoBox> </InfoBox>