diff --git a/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js b/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js index 351a32dfca48..cecf04afebad 100755 --- a/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js +++ b/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js @@ -331,6 +331,7 @@ function BaseValidateCodeForm(props) { errorText={formError.twoFactorAuthCode ? props.translate(formError.twoFactorAuthCode) : ''} hasError={hasError} autoFocus + key="twoFactorAuthCode" /> )} {hasError && } @@ -360,6 +361,7 @@ function BaseValidateCodeForm(props) { errorText={formError.validateCode ? props.translate(formError.validateCode) : ''} hasError={hasError} autoFocus + key="validateCode" /> {hasError && }