mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
add cookie security settings
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
} ) );
|
} ) );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user