mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
Merge branch 'csrf-excision' into hashtalk
This commit is contained in:
@@ -337,6 +337,8 @@ accountsController.accountEdit = function(req, res, next) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
userData.csrf = req.csrfToken();
|
||||
|
||||
res.render('account/edit', userData);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user