Skip to content

Commit

Permalink
fix: Set sameSite to strict
Browse files Browse the repository at this point in the history
  • Loading branch information
cwerl committed Oct 13, 2024
1 parent d7d4a62 commit 56d8e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/actions/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export async function getAppSession(): Promise<IronSession<AppSession>> {
password: process.env.APP_SECRET as string,
cookieName: 'intranet_session',
cookieOptions: {
// TODO: Evaluate most appropriate cookie settings
secure: isProduction(),
sameSite: 'strict',
},
ttl: 60 * 60 * 24 * 7,
})
Expand Down

0 comments on commit 56d8e1b

Please sign in to comment.