mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 02:25:55 +01:00
dont send undefined for tos
This commit is contained in:
@@ -118,7 +118,7 @@ Controllers.register = function(req, res, next) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
plugins.fireHook('filter:parse.post', {postData: {content: meta.config.termsOfUse}}, next);
|
plugins.fireHook('filter:parse.post', {postData: {content: meta.config.termsOfUse || ''}}, next);
|
||||||
},
|
},
|
||||||
function(tos, next) {
|
function(tos, next) {
|
||||||
var loginStrategies = require('../routes/authentication').getLoginStrategies();
|
var loginStrategies = require('../routes/authentication').getLoginStrategies();
|
||||||
|
|||||||
Reference in New Issue
Block a user