feat: add subscription plans. Add admin panel. Add password recovery

This commit is contained in:
Jose Selesan
2026-10-24 18:31:55 -03:00
parent f5e77c99f6
commit cd82a1e549
42 changed files with 2017 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ export const auth = betterAuth({
emailAndPassword: {
enabled: true,
minPasswordLength: 8,
revokeSessionsOnPasswordReset: true,
sendResetPassword: async ({ user, url }) => {
await emailProvider.sendPasswordResetEmail({
email: user.email,