Skip to content

Commit

Permalink
Merge pull request #1051 from haverchuck/issue-1044
Browse files Browse the repository at this point in the history
fix(aws-amplify-react): disables autocomplete in 'Code' fields(#1044 )
  • Loading branch information
haverchuck authored Jun 18, 2018
2 parents b1b8d1d + 92b8b86 commit 62656ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-amplify-react/src/Auth/ConfirmSignIn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default class ConfirmSignIn extends AuthPiece {
theme={theme}
key="code"
name="code"
autoComplete="off"
onChange={this.handleInputChange}
/>
<ButtonRow theme={theme} onClick={this.confirm}>
Expand Down
1 change: 1 addition & 0 deletions packages/aws-amplify-react/src/Auth/ConfirmSignUp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default class ConfirmSignUp extends AuthPiece {
theme={theme}
key="code"
name="code"
autoComplete="off"
onChange={this.handleInputChange}
/>
<ActionRow theme={theme}>
Expand Down
1 change: 1 addition & 0 deletions packages/aws-amplify-react/src/Auth/ForgotPassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default class ForgotPassword extends AuthPiece {
theme={theme}
key="code"
name="code"
autoComplete="off"
onChange={this.handleInputChange}
/>
<InputRow
Expand Down
1 change: 1 addition & 0 deletions packages/aws-amplify-react/src/Auth/VerifyContact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export default class VerifyContact extends AuthPiece {
theme={theme}
key="code"
name="code"
autoComplete="off"
onChange={this.handleInputChange}
/>
<ButtonRow theme={theme} onClick={this.submit}>{I18n.get('Submit')}</ButtonRow>
Expand Down

0 comments on commit 62656ce

Please sign in to comment.