diff --git a/dashboard/app.js b/dashboard/app.js index f2202c7d9..b1dda6871 100644 --- a/dashboard/app.js +++ b/dashboard/app.js @@ -33,7 +33,7 @@ module.exports.launch = async (client) => { session({ secret: process.env.SESSION_PASSWORD, cookie: { maxAge: new Date(Date.now() + 12096e5) }, - name: "AIO_connection_cookie", + name: "Connection", resave: true, saveUninitialized: false, store: MongoStore.create({ @@ -41,7 +41,6 @@ module.exports.launch = async (client) => { }), }) ) // Set the express session password and configuration - name: "connection",})) // Set the express session password and configuration .use(async function (req, res, next) { req.user = req.session.user; req.client = client;