diff --git a/src/pages/authentication/ForgotPasswordPage.jsx b/src/pages/authentication/ForgotPasswordPage.jsx index 6dc9219c..508b7a56 100644 --- a/src/pages/authentication/ForgotPasswordPage.jsx +++ b/src/pages/authentication/ForgotPasswordPage.jsx @@ -40,6 +40,7 @@ const ForgotPasswordPage = () => { setLoading( false ) } catch ( err ) { + reset() if(err.response.status === 404){ showToast( "verification email has been sent to your registered email address", "success" ) }else{