diff --git a/src/components/registration/steps.jsx b/src/components/registration/steps.jsx index 81bac2a01..ae35ad8a8 100644 --- a/src/components/registration/steps.jsx +++ b/src/components/registration/steps.jsx @@ -93,7 +93,7 @@ module.exports = { callback = callback || function () {}; if (!username) { this.refs.form.refs.formsy.updateInputsWithError({ - 'user.username': formatMessage({id: 'form.validationRequired'}) + 'user.username': this.props.intl.formatMessage({id: 'form.validationRequired'}) }); return callback(false); }