fix embedded header bug
This commit is contained in:
parent
b58d7abaec
commit
ef621f03ce
@ -15,7 +15,7 @@ exports.index = function(req, res) {
|
||||
exports.form = function(req, res) {
|
||||
|
||||
//Allow form to be embedded
|
||||
res.set('X-Frame-Options', 'GOFORIT');
|
||||
res.removeHeader('X-Frame-Options');
|
||||
|
||||
res.render('form', {
|
||||
user: req.user || null,
|
||||
|
Loading…
Reference in New Issue
Block a user