From f9bcfaf5fb820d7edc5f964e085147fcc4265eb7 Mon Sep 17 00:00:00 2001 From: aneesh-neelam Date: Sat, 31 Jan 2015 00:16:37 +0530 Subject: [PATCH] Version 0.12.1 Disabled CSRF Protection Express Session leaks memory --- app.js | 2 ++ bower.json | 4 ++-- package.json | 2 +- routes/web.js | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 9883e25..9edd590 100644 --- a/app.js +++ b/app.js @@ -106,6 +106,7 @@ app.use(function (req, res, next) { next(); }); +/* // ***CSRF Protection*** // Initializing sessions (backend storage) app.use(session({ @@ -114,6 +115,7 @@ app.use(session({ saveUninitialized: true })); app.use(csrf()); +*/ // view engine setup app.set('views', path.join(__dirname, 'views')); diff --git a/bower.json b/bower.json index eb9eec3..e6097f1 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "VITacademics", - "version": "0.12.0", + "version": "0.12.1", "description": "VITacademics Backend and Web App", "bugs": { "url": "https://github.com/aneesh-neelam/VITacademics/issues", @@ -41,6 +41,6 @@ ], "private": true, "dependencies": { - "foundation": "~5.5.0" + "foundation": "~5.5.1" } } diff --git a/package.json b/package.json index 300b3b2..48aa59d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "VITacademics", - "version": "0.12.0", + "version": "0.12.1", "description": "VITacademics Backend and Web App", "homepage": "http://vitacademics-dev.herokuapp.com/", "bugs": { diff --git a/routes/web.js b/routes/web.js index 20cf0d4..d3edfdb 100644 --- a/routes/web.js +++ b/routes/web.js @@ -35,7 +35,7 @@ router.get('/status', function (req, res) { platform: process.platform, arch: process.arch, serverStatus: 'OK', - lastUpdated: '28th January 2015', + lastUpdated: '31st January 2015', googleAnalyticsToken: googleAnalyticsToken }; res.render('status', status);