Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CSRF Security measures on login forms #40

Merged
merged 6 commits into from
Feb 4, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add CSRF Security measures on login forms
just added the csrf middleware
  • Loading branch information
GeneralZero committed Feb 3, 2014
commit bca3fd426da9f6cbea3268900554953390c566cc
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ app.use(require('connect-assets')({
helperContext: app.locals
}));
app.use(express.compress());
app.use(express.csrf());
app.use(express.favicon());
app.use(express.logger('dev'));
app.use(express.cookieParser());
Expand Down