mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
regFormEntry array
This commit is contained in:
@@ -168,6 +168,7 @@ Controllers.register = function(req, res, next) {
|
||||
data.maximumUsernameLength = meta.config.maximumUsernameLength;
|
||||
data.minimumPasswordLength = meta.config.minimumPasswordLength;
|
||||
data.termsOfUse = meta.config.termsOfUse;
|
||||
data.regFormEntry = [];
|
||||
|
||||
plugins.fireHook('filter:register.build', req, res, data, function(err, req, res, data) {
|
||||
if (err && process.env === 'development') {
|
||||
|
||||
Reference in New Issue
Block a user