From 4d97fe309b756af5be47267e91e11ec0481f06b9 Mon Sep 17 00:00:00 2001 From: Najoud Date: Sat, 14 Sep 2024 13:52:55 +0300 Subject: [PATCH] editing username taken error message first try --- public/src/client/register.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/register.js b/public/src/client/register.js index d8144d26d5..577bf999a0 100644 --- a/public/src/client/register.js +++ b/public/src/client/register.js @@ -135,7 +135,7 @@ define('forum/register', [ if (results.every(obj => obj.status === 'rejected')) { showSuccess(usernameInput, username_notify, successIcon); } else { - showError(usernameInput, username_notify, '[[error:username-taken]]'); + showError(usernameInput, username_notify, `[[error:username-taken]]. Maybe try "${$('#username').val()}suffix"`); } callback();