mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
fixed all POST routes to use new csrf middleware
This commit is contained in:
@@ -176,6 +176,7 @@ categoriesController.get = function(req, res, next) {
|
||||
|
||||
data.currentPage = page;
|
||||
data['feeds:disableRSS'] = meta.config['feeds:disableRSS'] === '1' ? true : false;
|
||||
data.csrf = req.csrfToken();
|
||||
|
||||
// Paginator for noscript
|
||||
data.pages = [];
|
||||
|
||||
Reference in New Issue
Block a user