|
|
@ -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') {
|
|
|
|