fix: secure session cookie (#2308)

pull/2303/head
TheCatLady 3 years ago committed by GitHub
parent 88a8c1aa59
commit 7f330aff2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -139,6 +139,9 @@ app
saveUninitialized: false,
cookie: {
maxAge: 1000 * 60 * 60 * 24 * 30,
httpOnly: true,
sameSite: true,
secure: 'auto',
},
store: new TypeormStore({
cleanupLimit: 2,

Loading…
Cancel
Save