[react-moralis] non crypto signup handle error for same username

how to handle error if user uses same username/email.

already tried authError from useMoralis() doesn’t get triggered.

That is correct, authError will show a message: Account already exists for this username. when you try to sign up with a username that already exists.

Can you please share more info?

  • What happens if you sign up with the same username? Does the signup function get called successfully?
  • Does the user get added to the database?
  • Can you share your code snippet?
1 Like