diff --git a/docker-hub/2fa/recover-hub-account.md b/docker-hub/2fa/recover-hub-account.md index 3d2573eacb..ab335b8bac 100644 --- a/docker-hub/2fa/recover-hub-account.md +++ b/docker-hub/2fa/recover-hub-account.md @@ -4,38 +4,6 @@ keywords: Docker, docker, registry, security, Docker Hub, authentication, two-fa title: Recover your Docker Hub account --- -If you have lost your two-factor authentication device and need to access your -Docker Hub account, you can gain access to your account using your two-factor -authentication recovery code. - -## Prerequisites - -Two-factor authentication is enabled on your Docker Hub account and you have -your two-factor authentication recovery code. - -> If you lose both your 2FA authentication device and recovery code, you may -> not be able to recover your account. -{: .important } - -## Recover your Docker Hub account with a recovery code - -Go through the login process on Docker Hub. When you're asked to enter your -two-factor authentication code, click **I've lost my authentication device**. - -![Lost authentication device](../images/2fa-enter-2fa-code.png){:width="250px"} - -On the next screen, click "I have my recovery code". - -![You have your code](../images/2fa-have-recovery-code.png){:width="250px"} - -Enter your recovery code. - -![Enter recovery code](../images/2fa-enter-recover-code.png){:width="250px"} - -Once you have used your recovery code, you will have to re-enable two-factor -authentication. See [Enabling two-factor authentication on Docker Hub](/docker-hub/2fa). - -## Alternative recovery methods If you have lost access to both your two-factor authentication application and your recovery code, get in touch with our Support team using the [Contact Support form](https://hub.docker.com/support/contact/?category=2fa-lockout){:target="_blank" rel="noopener" class="_"}. You must enter the primary email address associated with your Docker ID in the Contact Support form for recovery instructions.