From acf788ef8c8d6c805a2cd94ca26ef4935e458834 Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Fri, 28 Feb 2020 14:25:38 -0300 Subject: [PATCH] [FIX] Reset password error message (#1772) Co-authored-by: Diego Mello --- app/views/ForgotPasswordView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/ForgotPasswordView.js b/app/views/ForgotPasswordView.js index 6eb960e33..366d0554d 100644 --- a/app/views/ForgotPasswordView.js +++ b/app/views/ForgotPasswordView.js @@ -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 });