© 2026 Hedgehog Software, LLC
import { resend } from "../mail"; import { EmailTemplate } from "@daveyplate/better-auth-ui/server"; ... sendResetPassword: async ({ user, url }) => { const name = user.name || user.email.split("@")[0]; console.log("url", url); await resend.emails.send({ from: "redacted", to: user.email, subject: "Reset your password", react: EmailTemplate({ action: "Reset Password", content: await ResetPasswordEmailTemplate({ name }), heading: "Reset your password", siteName: "redacted", baseUrl: "redacted", url, }), }); }, },
http://localhost:8080/api/auth/reset-password/redacted_token?callbackURL=/reset-password
error: NOT_FOUND status: 404, code: "NOT_FOUND" at NotFoundError (/Users/kevin/code/src/github/efnf/market/node_modules/elysia/src/error.ts:77:3)