add cookie security settings

This commit is contained in:
2023-07-27 14:26:29 +02:00
parent a2dac4bbbb
commit 88f16c0421

View File

@@ -67,7 +67,9 @@ app.use( expressSession( {
resave: true, resave: true,
saveUninitialized: true, saveUninitialized: true,
cookie: { cookie: {
sameSite: 'none' sameSite: 'none',
httpOnly: true,
secure: true,
} }
} ) ); } ) );