Node.js based forum software built for the modern web
closes #5676
Julian Lame938d75efc10
diff --git a/src/controllers/authentication.js b/src/controllers/authentication.jsindex 09cb5837b2..5ca9c421ad 100644--- a/src/controllers/authentication.js+++ b/src/controllers/authentication.js@@ -52,7 +52,7 @@ authenticationController.register = function (req, res) {}if (userData.username.length > meta.config.maximumUsernameLength) {- return next(new Error('[[error:username-too-long'));+ return next(new Error('[[error:username-too-long]]'));}user.isPasswordValid(userData.password, next);