diff --git a/src/components/AuthPages/ForgotPassword/index2.jsx b/src/components/AuthPages/ForgotPassword/index2.jsx index 76f0ac6..7742b70 100644 --- a/src/components/AuthPages/ForgotPassword/index2.jsx +++ b/src/components/AuthPages/ForgotPassword/index2.jsx @@ -63,7 +63,7 @@ export default function ForgotPassword() { setResetLoading(true); try { const res = await userApi.StartResetPassword(reqData); - if (res.status === 200) { + if (res.status === 200 && res?.data?.internal_return > 0) { setMsgSuccess(true); setMail(""); setValue(false);