We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df2f5a4 commit 388942eCopy full SHA for 388942e
packages/better-auth/src/api/routes/forget-password.ts
@@ -84,7 +84,7 @@ export const forgetPassword = createAuthEndpoint(
84
async (ctx) => {
85
if (!ctx.context.options.emailAndPassword?.sendResetPassword) {
86
ctx.context.logger.error(
87
- "Reset password isn't enabled.Please pass an emailAndPassword.sendResetPasswordToken function in your auth config!",
+ "Reset password isn't enabled.Please pass an emailAndPassword.sendResetPassword function in your auth config!",
88
);
89
throw new APIError("BAD_REQUEST", {
90
message: "Reset password isn't enabled",
0 commit comments