mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-01 20:06:41 -05:00
chore: improve password reset message (#2807)
This commit is contained in:
committed by
GitHub
parent
7ad8129cf9
commit
152b2e028c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user