From 3d70333f9c348ef3bb1d84677e252ce894f5e702 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Tue, 13 Jun 2023 15:31:55 +0100 Subject: [PATCH] Update password-reset email response --- backend/src/controllers/v1/passwordController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/controllers/v1/passwordController.ts b/backend/src/controllers/v1/passwordController.ts index bdeae0fd46..da1903ebaa 100644 --- a/backend/src/controllers/v1/passwordController.ts +++ b/backend/src/controllers/v1/passwordController.ts @@ -36,8 +36,8 @@ export const emailPasswordReset = async (req: Request, res: Response) => { if (!user || !user?.publicKey) { // case: user has already completed account - return res.status(403).send({ - message: "If an account exists with this email, a password reset link has been sent" + return res.status(200).send({ + message:"If an account exists with this email, a password reset link has been sent" }); }