You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently switched our sign up flow, and right now, we don't have a proper check to see if usernames have been already taken. If you go to CompleteSignupFlow.tsx, you will see where we render all of the signup pages:
If you go to AccountSetup.tsx, you will need to add additional functionality to check if a username exists.
This is the function that checks if the username is invalid. Right now, we only check for forbidden characters and blank fields. However, we need to write a fetch call to the server. It will look like similar to this:
You basically need to send to the server the username field, which will return a boolean response.
The text was updated successfully, but these errors were encountered:
We recently switched our sign up flow, and right now, we don't have a proper check to see if usernames have been already taken. If you go to CompleteSignupFlow.tsx, you will see where we render all of the signup pages:
If you go to AccountSetup.tsx, you will need to add additional functionality to check if a username exists.
This is the function that checks if the username is invalid. Right now, we only check for forbidden characters and blank fields. However, we need to write a fetch call to the server. It will look like similar to this:
You basically need to send to the server the username field, which will return a boolean response.
The text was updated successfully, but these errors were encountered: