Merge pull request #580 from Joopmicroop/patch-1

Allow same origin framing
This commit is contained in:
Julian Lam
2013-11-29 08:42:46 -08:00

View File

@@ -159,7 +159,7 @@ var path = require('path'),
res.locals.csrf_token = req.session._csrf;
// Disable framing
res.setHeader('X-Frame-Options', 'DENY');
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
next();
});