Working on the profile module.

This commit is contained in:
charlesgauthereau
2025-12-22 20:32:18 +01:00
parent 08f2ad0521
commit 601dae4909
17 changed files with 4020 additions and 41 deletions
+10
View File
@@ -21,6 +21,7 @@ export const auth = betterAuth({
provider: "pg",
schema: drizzleDb.schemas,
}),
appName: env.PROJECT_NAME!,
baseURL: env.PROJECT_URL,
secret: env.PROJECT_SECRET,
emailAndPassword: {
@@ -131,6 +132,15 @@ export const auth = betterAuth({
nullable: true,
required: false,
},
theme: {
type: "string",
},
lastConnectedAt: {
type: "date",
},
lastChangedPasswordAt: {
type: "date",
},
},
},
databaseHooks: {