Skip to content

Commit

Permalink
Merge branch 'master' into error-messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev authored Aug 23, 2019
2 parents 6048436 + a938fff commit 8290def
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions packages/aws-amplify-react/src/Auth/ForgotPassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,28 @@ export default class ForgotPassword extends AuthPiece {
const theme = this.props.theme || AmplifyTheme;
return (
<div>
<Input
placeholder={I18n.get('Code')}
theme={theme}
key="code"
name="code"
autoComplete="off"
onChange={this.handleInputChange}
/>
<Input
placeholder={I18n.get('New Password')}
theme={theme}
type="password"
key="password"
name="password"
onChange={this.handleInputChange}
/>
<FormField theme={theme}>
<InputLabel theme={theme}>{I18n.get('Code')} *</InputLabel>
<Input
placeholder={I18n.get('Code')}
theme={theme}
key="code"
name="code"
autoComplete="off"
onChange={this.handleInputChange}
/>
</FormField>
<FormField theme={theme}>
<InputLabel theme={theme}>{I18n.get('New Password')} *</InputLabel>
<Input
placeholder={I18n.get('New Password')}
theme={theme}
type="password"
key="password"
name="password"
onChange={this.handleInputChange}
/>
</FormField>
</div>
);
}
Expand Down

0 comments on commit 8290def

Please sign in to comment.