Update password-reset email response

This commit is contained in:
Tuan Dang
2023-06-13 15:31:55 +01:00
parent f4404f66b8
commit 3d70333f9c
@@ -36,8 +36,8 @@ export const emailPasswordReset = async (req: Request, res: Response) => {
if (!user || !user?.publicKey) { if (!user || !user?.publicKey) {
// case: user has already completed account // case: user has already completed account
return res.status(403).send({ return res.status(200).send({
message: "If an account exists with this email, a password reset link has been sent" message:"If an account exists with this email, a password reset link has been sent"
}); });
} }