Node.js based forum software built for the modern web
error:invalid-username doesnt have params
Barış Soner Uşaklıfb460725ad67
diff --git a/src/user/create.js b/src/user/create.jsindex d0a6afb46d..00e5fc69cc 100644--- a/src/user/create.js+++ b/src/user/create.js@@ -157,7 +157,7 @@ module.exports = function (User) {}if (!utils.isUserNameValid(userData.username) || !utils.isSlugValid(userData.userslug)) {- throw new Error(`[[error:invalid-username, ${userData.username}]]`);+ throw new Error(`[[error:invalid-username]]`);}if (userData.password) {