From fb460725ad679554034147600904207a66821c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 8 Feb 2026 13:14:33 -0500 Subject: [PATCH] error:invalid-username doesnt have params --- src/user/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/create.js b/src/user/create.js index 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) {