From 152b2e028cc904df187b90d30f738cd42a8a5696 Mon Sep 17 00:00:00 2001 From: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com> Date: Tue, 27 May 2025 16:15:49 -0700 Subject: [PATCH] chore: improve password reset message (#2807) --- packages/better-auth/src/api/routes/forget-password.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/better-auth/src/api/routes/forget-password.ts b/packages/better-auth/src/api/routes/forget-password.ts index 4267783784..a8fa0e7e4c 100644 --- a/packages/better-auth/src/api/routes/forget-password.ts +++ b/packages/better-auth/src/api/routes/forget-password.ts @@ -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;