Fixed maxAge value of config

pull/1/head
Trivernis 5 years ago
parent 69e535276b
commit 1b9e7e1a66

@ -36,7 +36,7 @@ class App {
const appSession = session({ const appSession = session({
cookie: { cookie: {
maxAge: Number(globals.config.session.cookieMaxAge), maxAge: Number(globals.config.session.cookieMaxAge) || 604800000,
secure: "auto", secure: "auto",
}, },
resave: false, resave: false,

Loading…
Cancel
Save