Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Users with exactly 3 or exactly 16 characters to be found. #761

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ExtremeDevelopments
Copy link

Currently, if a user has a username 3 characters long or exactly 16 they won't pass the length check and will return not found. This adds a greater than and less than comparison operator to prevent this.

@LeleDerGrasshalmi
Copy link
Contributor

LeleDerGrasshalmi commented Feb 13, 2024

As we discussed on discord, it should be just a normal else, because accounts with less than 3 character displayNames exist (created before the restriction was added)

{
  "id": "b3d1cf3822814b75af8b069628065cfd",
  "displayName": "A"
}

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.

2 participants