mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 14:26:38 +00:00
Update password-reset email response
This commit is contained in:
@@ -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"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user