mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on the profile module.
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user