fix: use custom cookie prefix
This commit is contained in:
parent
571489a10b
commit
0ec23da8ab
1 changed files with 4 additions and 0 deletions
|
|
@ -23,6 +23,10 @@ const createBetterAuth = (secret: string) =>
|
|||
betterAuth({
|
||||
secret,
|
||||
trustedOrigins: config.trustedOrigins ?? ["*"],
|
||||
advanced: {
|
||||
cookiePrefix: "better-auth",
|
||||
useSecureCookies: false,
|
||||
},
|
||||
onAPIError: {
|
||||
throw: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue