diff --git a/src/components/AuthPages/ForgotPassword/index2.jsx b/src/components/AuthPages/ForgotPassword/index2.jsx index 7742b70..fb41a86 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 && res?.data?.internal_return > 0) { + if (res.status === 200 && res?.data?.internal_return >= 0) { setMsgSuccess(true); setMail(""); setValue(false);