• On Discord, multiple people can have the same name but there is a 4 digit discriminator to make the difference.

    If a ‘user1’ (Discord name user1#4567) is already existing in the database and another user1 (Discord name user1#1122) wants to join, the below error appears.

    For the creation of the nickname, it might be a good idea to add the discriminator at the end (not sure if the # is accepted).

    Error:
    WP_Error Object ( [errors] => Array ( [existing_user_email] => Array ( [0] => Sorry, that email address is already used! ) ) [error_data] => Array ( ) [additional_data:protected] => Array ( ) )
    Error Code 5: There was an error in registration. Please contact your administrator.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Pascal Casier

    (@casiepa)

    Going into the details of the error, it talks about the EMAIL. So indeed, it tries to create a new user with the same ‘user1@discord.com’ email. Please add the discriminator value somewhere so it will be easy to identify the users. thanks.

    Hello,

    Thank you for reaching out to us and for the detailed explanation.

    We have already handled the multiple username functionality in the plugin, and also, if two accounts have the same e-mail address, they will be automatically linked with each other.

    Can you please let me know when you are getting this error? Are you using the account linking feature?

    Kindly update me on the above so that we can guide you accordingly.

    Also, all the social login applications are interlinked in our plugin, so we cannot add the discriminator to the free plugin. If you want to implement it, you can reach out to us through e-mail, and we will provide you with a custom plugin.

    Please let us know if you have any questions, and you can also contact us by e-mail from the plugin support form or by e-mail at the e-mail address provided on our website.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Discord: user with same name cannot be created’ is closed to new replies.