feat: add onboarding and user invitations
This commit is contained in:
parent
24351eb897
commit
762cfe2b16
37 changed files with 5208 additions and 384 deletions
|
|
@ -17,6 +17,17 @@ export function createAuth() {
|
|||
trustedOrigins: [env.CORS_ORIGIN],
|
||||
emailAndPassword: {
|
||||
enabled: true,
|
||||
disableSignUp: true,
|
||||
},
|
||||
user: {
|
||||
additionalFields: {
|
||||
mustChangePassword: {
|
||||
type: "boolean",
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
input: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
secret: env.BETTER_AUTH_SECRET,
|
||||
baseURL: env.BETTER_AUTH_URL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue