mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Ready for 1.1.5-rc.4
This commit is contained in:
@@ -21,6 +21,7 @@ export const auth = betterAuth({
|
|||||||
provider: "pg",
|
provider: "pg",
|
||||||
schema: drizzleDb.schemas,
|
schema: drizzleDb.schemas,
|
||||||
}),
|
}),
|
||||||
|
baseURL: env.PROJECT_URL,
|
||||||
secret: env.PROJECT_SECRET,
|
secret: env.PROJECT_SECRET,
|
||||||
emailAndPassword: {
|
emailAndPassword: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
@@ -46,7 +47,6 @@ export const auth = betterAuth({
|
|||||||
async sendVerificationEmail({user, token, url}) {
|
async sendVerificationEmail({user, token, url}) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
await sendEmail({
|
await sendEmail({
|
||||||
to: user.email,
|
to: user.email,
|
||||||
subject: "Portabase Email Verification",
|
subject: "Portabase Email Verification",
|
||||||
|
|||||||
Reference in New Issue
Block a user