Skip to main content

Dissociation de votre adresse e-mail d’un compte verrouillé

Si vous avez perdu vos identifiants d'authentification à deux facteurs (2FA) et que vous ne parvenez pas à récupérer l'accès, vous pouvez supprimer la connexion entre votre adresse e-mail et un compte verrouillé par 2FA.

Avertissement

Following these steps will not disable 2FA or provide access to a locked account, but will instead unlink the associated email address so it may be used for a different account. If you cannot regain access to the 2FA locked account, these steps will permanently break the link between the account and the linked email address. Before continuing, be sure you have lost all access to your account. See Recovering your account if you lose your 2FA credentials.

Unlinking with your password

If you know your password, you can sign in with your password to unlink your email address.

  1. Navigate to http://github.com/login.

  2. To prompt two-factor authentication, type your username and password, then click Sign in.

    Remarque

    If you have linked a social account to your GitHub account, you can sign-in with your social login instead of using your password.

  3. Under "More options", click 2FA recovery code.

  4. Under "More options", click Begin account or email recovery.

  5. In the modal that appears, click I understand, get started.

  6. You may be required to verify an email address. To send an email containing a one-time password to each email address associated with your account, click Send one-time password.

    Remarque

    The one-time password will be sent to your primary and backup email addresses. Unless you have previously chosen a specific backup email address, all verified emails are considered backup email addresses.

  7. Type the one-time password from your email in the "One-time password" text field, then click Verify email address.

  8. To begin unlinking, click Start unlinking email.

  9. On the "Email unlink" screen, click Continue. GitHub will send a verification link to each email on the account.

  10. In the inbox of each email account that you want to unlink, open the email with the subject "[GitHub] Unlink this email."

  11. In the email, click Unlink this email.

    Screenshot of an email from GitHub to unlink an email address from a GitHub account. A link with the text "Unlink this email" is outlined in orange.

  12. To finish unlinking your email, click Unlink.

  13. Optionally, to create a new account and link your newly unlinked email, click Create a new account.

    Remarque

    You can also link your unlinked email to an existing GitHub account. See Adding an email address to your GitHub account.

  14. Optionally, if you have any form of payment set up on the locked account, please contact us through the GitHub Support portal to cancel future payments. For example, you might have a paid subscription or sponsor developers through GitHub Sponsors. If you are sponsored through GitHub Sponsors, please mention this so that the team can help you migrate your sponsorships.

Unlinking without your password

If you do not know your account password, you can request a password reset link to unlink your email address.

  1. To request a new password, visit http://github.com/password_reset.

  2. Enter the email address associated with your account, then click Send password reset email.

    Remarque

    Only primary and backup email addresses can be used to request a new password. Unless you have previously chosen a specific backup email address, all verified emails are considered backup email addresses.

  3. GitHub will email you a link that will allow you to reset your password. You must click on this link within 3 hours of receiving the email. If you didn't receive an email from us, make sure to check your spam folder.

  4. You will be prompted for your 2FA credentials. Under "More options", click Begin account or email recovery.

  5. In the modal that appears, click I understand, get started.

  6. To begin unlinking, click Start unlinking email.

  7. On the "Email unlink" screen, click Continue. GitHub will send a verification link to each email on the account.

  8. In the inbox of each email account that you want to unlink, open the email with the subject "[GitHub] Unlink this email."

  9. In the email, click Unlink this email.

    Screenshot of an email from GitHub to unlink an email address from a GitHub account. A link with the text "Unlink this email" is outlined in orange.

  10. To finish unlinking your email, click Unlink.

  11. Optionally, to create a new account and link your newly unlinked email, click Create a new account.

    Remarque

    You can also link your unlinked email to an existing GitHub account. See Adding an email address to your GitHub account.

  12. Optionally, if you have any form of payment set up on the locked account, please contact us through the GitHub Support portal to cancel future payments. For example, you might have a paid subscription or sponsor developers through GitHub Sponsors. If you are sponsored through GitHub Sponsors, please mention this so that the team can help you migrate your sponsorships.