Skip to content

Commit

Permalink
Update init.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
paramaggarwal authored Nov 8, 2024
1 parent 81646eb commit feff1af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/lib/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ export async function init({
provider,
cookies: merge(
cookie.defaultCookies(
config.useSecureCookies ?? url.protocol === "https:"
config.useSecureCookies ?? url.protocol === "https:",
config.cookieName ?? "authjs",
),
config.cookies
),
Expand Down

0 comments on commit feff1af

Please sign in to comment.