소스 검색

[skip ci] Add AutoFocus on Token field for 2FA Authentication (#119)

* Allow Insecure TLS like self-signed certificate for SMTP server

* Set AutoFocus on Token field for 2FA Authentication

Set AutoFocus on Token field for 2FA Authentication
Someone 1 년 전
부모
커밋
714d560774
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      client/src/pages/authentication/newMFA.jsx

+ 1 - 0
client/src/pages/authentication/newMFA.jsx

@@ -77,6 +77,7 @@ const MFALoginForm = () => {
             {...formik.getFieldProps('token')}
             error={formik.touched.token && formik.errors.token && true}
             helperText={formik.touched.token && formik.errors.token && formik.errors.token}
+            autoFocus
           />
           {formik.errors.submit && (
               <Grid item xs={12}>