Skip to content

Commit

Permalink
Version 0.12.1
Browse files Browse the repository at this point in the history
Disabled CSRF Protection
Express Session leaks memory
  • Loading branch information
aneesh-neelam committed Jan 30, 2015
1 parent 1f171c2 commit f9bcfaf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ app.use(function (req, res, next) {
next();
});

/*
// ***CSRF Protection***
// Initializing sessions (backend storage)
app.use(session({
Expand All @@ -114,6 +115,7 @@ app.use(session({
saveUninitialized: true
}));
app.use(csrf());
*/

// view engine setup
app.set('views', path.join(__dirname, 'views'));
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -41,6 +41,6 @@
],
"private": true,
"dependencies": {
"foundation": "~5.5.0"
"foundation": "~5.5.1"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion routes/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f9bcfaf

Please sign in to comment.