diff --git a/src/auth/pages/jwt/Login.tsx b/src/auth/pages/jwt/Login.tsx index bdf1055..fec6898 100644 --- a/src/auth/pages/jwt/Login.tsx +++ b/src/auth/pages/jwt/Login.tsx @@ -151,14 +151,18 @@ const Login = () => { { + if (!/[0-9]/.test(e.key)) { + e.preventDefault(); + } + }} /> {formik.touched.token && formik.errors.token && (