fix better auth
Gitea Actions Demo / Deploy (push) Successful in 18s

This commit is contained in:
vadim committed 2026-09-24 16:21:16 +03:00
1 parent e9a61ac684
commit 9f36b7cedc
9 files changed
+83 -135

No files matched your search

-2
View File
@@ -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: {