Skip to content

Commit

Permalink
Merge pull request #28409 from alitoshmatov/28092/enter-key-in-recove…
Browse files Browse the repository at this point in the history
…ry-code

Submit recovery code when enter is pressed
  • Loading branch information
MonilBhavsar authored Oct 4, 2023
2 parents 0b3b3ec + 3bcfa90 commit 56eda28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ function BaseValidateCodeForm(props) {
label={props.translate('recoveryCodeForm.recoveryCode')}
errorText={formError.recoveryCode ? props.translate(formError.recoveryCode) : ''}
hasError={hasError}
onSubmitEditing={validateAndSubmitForm}
autoFocus
/>
) : (
Expand Down

0 comments on commit 56eda28

Please sign in to comment.