chore: improve password reset message (#2807)

This commit is contained in:
KinfeMichael Tariku
2025-05-27 16:15:49 -07:00
committed by GitHub
parent 7ad8129cf9
commit 152b2e028c

View File

@@ -99,6 +99,8 @@ export const forgetPassword = createAuthEndpoint(
ctx.context.logger.error("Reset Password: User not found", { email });
return ctx.json({
status: true,
message:
"If this email exists in our system, check your email for the reset link",
});
}
const defaultExpiresIn = 60 * 60 * 1;