1 parent
e9a61ac684
commit
9f36b7cedc
9 files changed
+83
-135
No files matched your search
@@ -2,7 +2,6 @@ import { betterAuth } from 'better-auth';
|
||||
import { prismaAdapter } from '@better-auth/prisma-adapter';
|
||||
import prisma from './prisma.js';
|
||||
import EmailSender from './email-sender.js';
|
||||
import { authTransformResponse } from './auth-plugins/auth-response.js';
|
||||
|
||||
export const auth = betterAuth({
|
||||
appName: process.env.APP_NAME ?? 'app',
|
||||
@@ -20,7 +19,6 @@ export const auth = betterAuth({
|
||||
joins: true,
|
||||
},
|
||||
},
|
||||
hooks: {},
|
||||
secret: process.env.BETTER_AUTH_SECRET,
|
||||
baseURL: process.env.BETTER_AUTH_URL ?? 'http://localhost:3000',
|
||||
emailAndPassword: {
|
||||
|
||||
Reference in new issue
Block a user