mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Fix label succes email sent
This commit is contained in:
parent
da41adeacf
commit
8a2d5cf8e6
@ -173,7 +173,7 @@ export class AuthPage extends React.Component { // eslint-disable-line react/pre
|
||||
didCheckErrors={this.props.didCheckErrors}
|
||||
errors={get(this.props.formErrors, [findIndex(this.props.formErrors, ['name', input.name]), 'errors'])}
|
||||
key={get(input, 'name')}
|
||||
label={this.props.match.params.authType === 'forgot-password' && this.props.submitSuccess? 'users-permissions.Auth.form.forgot-password.email.label.success' : get(input, 'label')}
|
||||
label={this.props.match.params.authType === 'forgot-password' && this.props.submitSuccess? { id: 'users-permissions.Auth.form.forgot-password.email.label.success' } : get(input, 'label')}
|
||||
name={get(input, 'name')}
|
||||
onChange={this.props.onChangeInput}
|
||||
placeholder={get(input, 'placeholder')}
|
||||
|
Loading…
x
Reference in New Issue
Block a user