Node.js based forum software built for the modern web
one more minor fix to req.flash err
Julian Lamc9d8fc3f58ed
diff --git a/src/controllers/authentication.js b/src/controllers/authentication.jsindex 639857c768..de0ba56bf0 100644--- a/src/controllers/authentication.js+++ b/src/controllers/authentication.js@@ -182,7 +182,7 @@ authenticationController.registerComplete = function (req, res, next) {});}- if (err) {+ if (err.length) {req.flash('errors', err);return res.redirect(nconf.get('relative_path') + '/register/complete');}