mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
fix: pre-production fixes, add docker-compose.production.yml
This commit is contained in:
@@ -20,6 +20,8 @@ export type UserProfile = {
|
||||
|
||||
export const auth = betterAuth({
|
||||
database: prismaAdapter(prisma, { provider: "postgresql" }),
|
||||
appName: config.app.title,
|
||||
secret: config.auth.secret,
|
||||
email: {
|
||||
provider: "resend",
|
||||
from: config.email.from,
|
||||
|
||||
@@ -13,6 +13,7 @@ const config = {
|
||||
welcomeUrl: "/self-hosted",
|
||||
},
|
||||
auth: {
|
||||
secret: process.env.BETTER_AUTH_SECRET || "please-set-secret",
|
||||
loginUrl: "/enter",
|
||||
disableSignup: process.env.DISABLE_SIGNUP === "true" || process.env.SELF_HOSTED_MODE === "true",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user