I’m trying to set up the following steps:
- User searches for unique name
- If it is available, the name is sato the to database and
- Direct the user to create an account.
I did the following: I did a search on the current database to check if the user name is not already taken, setup a slug and signed up the user.
I’m having problems getting all the steps working correctly. I’m able to save the user with a unique name, but it allows the new user to sign up even if the user name already exists
Any help would be appreciated. Thank you in advance.