Allow same origin framing

Allow people to frame there own server setup
v1.18.x
Joopmicroop 11 years ago
parent c5f9f896b2
commit 7d0f160c4c

@ -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();
});

Loading…
Cancel
Save