mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
closes #1603
This commit is contained in:
@@ -238,7 +238,7 @@ middleware.renderHeader = function(req, res, callback) {
|
||||
csrf: res.locals.csrf_token,
|
||||
navigation: custom_header.navigation,
|
||||
allowRegistration: meta.config.allowRegistration === undefined || parseInt(meta.config.allowRegistration, 10) === 1,
|
||||
searchEnabled: plugins.hasListeners('filter:search.query') && (uid || parseInt(meta.config.allowGuestSearching, 10) === 1)
|
||||
searchEnabled: plugins.hasListeners('filter:search.query')
|
||||
},
|
||||
escapeList = {
|
||||
'&': '&',
|
||||
|
||||
Reference in New Issue
Block a user