Skip to content

Added suggestion name for username-taken error message#19

Open
IndyaG wants to merge 3 commits intoCMU-17313Q:mainfrom
IndyaG:username-taken-reg-fix
Open

Added suggestion name for username-taken error message#19
IndyaG wants to merge 3 commits intoCMU-17313Q:mainfrom
IndyaG:username-taken-reg-fix

Conversation

@IndyaG
Copy link
Copy Markdown

@IndyaG IndyaG commented Sep 21, 2025

Summary

I added an improved error message for the case where a user tries to register with a username that's already taken. The message now suggests an alternative username by appending a static suffix (e.g., username123 becomes username123suffix)

Testing

Tested locally by running NodeBB and executing the updated code using these commands:

  • npm install -g grunt-cli
  • ./nodebb build
  • ./nodebb restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant