From 7038eec5c4c8258de89c63d2e07c224ca8f46d2f Mon Sep 17 00:00:00 2001 From: Ruben Meyer <46384706+rxbnDE@users.noreply.github.com> Date: Sun, 24 Nov 2019 00:26:53 +0100 Subject: [PATCH] cfg - remove rememberMe feature. not useful & secure --- bin/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/config.js b/bin/config.js index c1022eb..204c5a1 100644 --- a/bin/config.js +++ b/bin/config.js @@ -23,7 +23,7 @@ module.exports = { sessionKey: require('crypto').randomBytes(32).toString('hex'), cookieKey: require('crypto').randomBytes(32).toString('hex'), registration: false, // false -> no registration - rememberMeMaxAge: 1000*60*60 // two weeks (milliseconds*seconds*minutes) + cookieMaxAge: 1000*60*60 // one hour (milliseconds*seconds*minutes) }, app: { locale: 'de-DE', // default locale (de-DE & en-EN should be available)