Bessere lesbarkeit bei session zeit
This commit is contained in:
parent
e84b543fb0
commit
ef495986a7
4
app.js
4
app.js
|
@ -33,8 +33,8 @@ app.use(express.urlencoded({ extended: false }));
|
|||
app.use(session({
|
||||
secret: process.env.SESSIONSECRET,
|
||||
resave: false,
|
||||
saveUninitialized: false,
|
||||
cookie: { maxAge: 1800000 }
|
||||
saveUninitialized: true,
|
||||
cookie: { maxAge: 1000 * 60 * 60 * 24 * 2 }
|
||||
}));
|
||||
|
||||
// Authentifizierungs-Middleware
|
||||
|
|
Loading…
Reference in New Issue