[FIX] Reset password error message (#1772)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
ca73bd1a5f
commit
acf788ef8c
|
@ -77,7 +77,7 @@ class ForgotPasswordView extends React.Component {
|
|||
showErrorAlert(I18n.t('Forgot_password_If_this_email_is_registered'), I18n.t('Alert'));
|
||||
}
|
||||
} catch (e) {
|
||||
const msg = (e.data && e.data.error) || I18n.t('There_was_an_error_while_action', I18n.t('resetting_password'));
|
||||
const msg = (e.data && e.data.error) || I18n.t('There_was_an_error_while_action', { action: I18n.t('resetting_password') });
|
||||
showErrorAlert(msg, I18n.t('Alert'));
|
||||
}
|
||||
this.setState({ isFetching: false });
|
||||
|
|
Loading…
Reference in New Issue