diff --git a/dependencies.txt b/dependencies.txt index 7ad08f24..fffb520d 100644 --- a/dependencies.txt +++ b/dependencies.txt @@ -1,7 +1,7 @@ "body-parser": "^1.19.0", "cbor": "~5.2.0", "compression": "^1.7.4", - "cookie-session": "^2.0.0-beta.3", + "cookie-session": "^1.4.0", "express": "^4.17.0", "express-handlebars": "^3.1.0", "express-ws": "^4.0.0", diff --git a/meshcentral.js b/meshcentral.js index 1e3ac3d4..095662ee 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -3321,7 +3321,7 @@ function mainStart() { } // Build the list of required modules - var modules = ['ws@5.2.3', 'cbor@5.2.0', '@yetzt/nedb', 'https', 'yauzl', 'ipcheck', 'express', 'archiver@4.0.2', 'multiparty', 'node-forge', 'express-ws@4.0.0', 'compression', 'body-parser', 'cookie-session', 'express-handlebars']; + var modules = ['ws@5.2.3', 'cbor@5.2.0', '@yetzt/nedb', 'https', 'yauzl', 'ipcheck', 'express', 'archiver@4.0.2', 'multiparty', 'node-forge', 'express-ws@4.0.0', 'compression', 'body-parser', 'cookie-session@1.4.0', 'express-handlebars']; if (require('os').platform() == 'win32') { modules.push('node-windows@0.1.4'); modules.push('loadavg-windows'); if (sspi == true) { modules.push('node-sspi'); } } // Add Windows modules if (ldap == true) { modules.push('ldapauth-fork'); } if (mstsc == true) { modules.push('node-rdpjs-2'); } diff --git a/package.json b/package.json index 452c29ac..4224bc20 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "body-parser": "^1.19.0", "cbor": "~5.2.0", "compression": "^1.7.4", - "cookie-session": "^2.0.0-beta.3", + "cookie-session": "^1.4.0", "express": "^4.17.0", "express-handlebars": "^3.1.0", "express-ws": "^4.0.0",