Update auth.js

This commit is contained in:
Richter 2019-03-10 09:35:36 +01:00
parent 63760e1a8e
commit 3cd1b06258

View File

@ -19,8 +19,8 @@ module.exports = function(app, app_cfg, db, async, bcrypt, passport, io) {
resave: false,
saveUninitialized: true,
cookie: {
maxAge: 24 * 60 * 60 * 1000
} // 1 Tag
maxAge: 60 * 60 * 1000
} // Standard ist eine Stunde
}));
app.use(cookieParser());
app.use(flash());