Skip to content

Commit

Permalink
🎉 feat: secure cookie flag
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyAom committed Dec 30, 2023
1 parent ad0c8cd commit 9256755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/resonator/src/libs/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const Auth = Lucia<InferSelectModel<Table['user']>>({
},
cookie: {
sameSite: process.env.NODE_ENV === 'production' ? 'strict' : 'lax',
// secure: process.env.NODE_ENV === 'production'
secure: process.env.NODE_ENV === 'production'
}
})

Expand Down

0 comments on commit 9256755

Please sign in to comment.