mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +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.maximumUsernameLength = meta.config.maximumUsernameLength;
|
||||||
data.minimumPasswordLength = meta.config.minimumPasswordLength;
|
data.minimumPasswordLength = meta.config.minimumPasswordLength;
|
||||||
data.termsOfUse = meta.config.termsOfUse;
|
data.termsOfUse = meta.config.termsOfUse;
|
||||||
|
data.regFormEntry = [];
|
||||||
|
|
||||||
plugins.fireHook('filter:register.build', req, res, data, function(err, req, res, data) {
|
plugins.fireHook('filter:register.build', req, res, data, function(err, req, res, data) {
|
||||||
if (err && process.env === 'development') {
|
if (err && process.env === 'development') {
|
||||||
|
|||||||
Reference in New Issue
Block a user