From 094ba4fde803c7d87470dc7a57f98423121268ce Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 1 Oct 2024 18:13:45 +0100 Subject: [PATCH] bug fixed --- src/components/AuthPages/ForgotPassword/index2.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1