mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 09:55:47 +01:00
started work on #2082
This commit is contained in:
@@ -61,7 +61,7 @@ middleware.buildHeader = function(req, res, next) {
|
||||
}
|
||||
}, function(err, pluginData) {
|
||||
var data = {
|
||||
csrf: res.locals.csrf_token,
|
||||
csrf: req.csrfToken ? req.csrfToken() : undefined,
|
||||
relative_path: nconf.get('relative_path'),
|
||||
plugins: pluginData.custom_header.plugins,
|
||||
authentication: pluginData.custom_header.authentication,
|
||||
|
||||
Reference in New Issue
Block a user