v1.18.x
Julian Lam 8 years ago
parent 45949be029
commit e938d75efc

@ -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);

Loading…
Cancel
Save