Skip to content

Commit 9750a99

Browse files
fix lint error
1 parent 9b44baa commit 9750a99

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/lib/auth.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ export const auth = betterAuth({
5050
provider: 'postgresql',
5151
}),
5252

53+
user: {
54+
additionalFields: {
55+
role: {
56+
type: 'string',
57+
required: true,
58+
input: false,
59+
},
60+
},
61+
},
62+
5363
// Setup your rate limiting for auth api
5464
rateLimit: {
5565
enabled: true,

0 commit comments

Comments
 (0)