Skip to content

Node.js based forum software built for the modern web

regFormEntry array

barisusakli6c48cbe6ceae
diff --git a/src/controllers/index.js b/src/controllers/index.js
index 81217367a0..fedb988a8d 100644
--- a/src/controllers/index.js
+++ b/src/controllers/index.js
@@ -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') {