diff --git a/lib/options.js b/lib/options.js index c1a55f556b..99b6722f59 100644 --- a/lib/options.js +++ b/lib/options.js @@ -7,7 +7,7 @@ const { publicFolder } = require('unleash-frontend'); const { defaultLogProvider, validateLogProvider } = require('./logger'); const version = require('./util/version'); -const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000; +const TWO_DAYS = 2 * 24 * 60 * 60 * 1000; function defaultDatabaseUrl() { if (process.env.DATABASE_URL_FILE) { @@ -44,7 +44,7 @@ function defaultOptions() { extendedPermissions: false, publicFolder, enableRequestLogger: false, - sessionAge: THIRTY_DAYS, + sessionAge: TWO_DAYS, adminAuthentication: process.env.ADMIN_AUTHENTICATION || 'unsecure', ui: {}, importFile: undefined,