Skip to content

Conversation

tomast1337
Copy link
Member

This pull request includes a change to the UserService class in server/src/user/user.service.ts. The update improves the logic for generating unique usernames by replacing the previous random number approach with a more systematic counter-based method, fixing #14 .

Changes to username generation logic:

  • server/src/user/user.service.ts: Modified the generateUniqueUsername method to use a counter-based approach for generating unique usernames instead of appending a random number. This ensures a more predictable and collision-resistant username generation.

@tomast1337 tomast1337 merged commit c936ed5 into develop Nov 29, 2024
@tomast1337 tomast1337 deleted the bugfix/fix-14-username-generation branch December 31, 2024 17:48
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