Makes password-recovery act as a widget by injecting props

This commit is contained in:
Maxi Redigonda 2018-07-26 15:51:21 -03:00
parent e60105cccc
commit da3cf30192
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class PasswordRecovery extends React.Component {
render() {
return (
<Widget title={i18n('RECOVER_PASSWORD')}>
<Widget {...this.props} title={i18n('RECOVER_PASSWORD')}>
<Form {...this.props.formProps}>
<div className="password-recovery__inputs">
<FormField placeholder={i18n('EMAIL_LOWERCASE')} name="email" className="password-recovery__input" validation="EMAIL" required/>