diff --git a/src/pages/authentication/IAmSmartRegister.js b/src/pages/authentication/IAmSmartRegister.js index 3342087..322eecc 100644 --- a/src/pages/authentication/IAmSmartRegister.js +++ b/src/pages/authentication/IAmSmartRegister.js @@ -87,7 +87,7 @@ const Register = () => { idNo: idNo, } }) - return Number(response.data[0]) === 1 + return Number(response?.data?.idVaild) === true } const handleCaptcha = async () => {