Re-enroll two-factor authentication after recovery

Re-enroll Dosya authenticator 2FA after recovery-code access, replace the old secret, and confirm new codes before ending the session securely.

Last reviewed

A recovery code signs in once; it does not disable authenticator 2FA or restore the lost secret. Use the resulting trusted session to replace the factor before it ends.

Recovery re-enrollment map from one-time recovery code through Disable 2FA, a new authenticator secret, and replacement codes.
The recovered session is used to destroy the lost factor, complete Verify and enable, and store the newly issued code set. Open full-size screenshot.

Steps

  1. Complete email/password login, select Use a recovery code instead, enter one XXXX-XXXX value, and choose Use recovery code. Spaces and hyphens are normalized, but a successful code is atomically marked used.
  2. The login challenge lasts 5 minutes and permits 5 attempts. Errors count down Invalid code. N attempts remaining.; the cap returns Too many attempts. Please log in again.
  3. Open Profile → Password & 2FA. Confirm that you know the current password; an OAuth-only account must set one before it can turn 2FA off.
  4. Select Disable, provide the password, and complete Disable 2FA. This destroys the old authenticator secret and all remaining old recovery codes.
  5. Immediately choose Enable authenticator, scan the new QR, enter the six-digit value, and select Verify & enable.
  6. Store the newly displayed ten recovery codes and confirm the Authenticator badge.
  7. Review sessions if the factor was lost through theft or account compromise.
Password and two-factor auth settings with the Password and 2FA sidebar item highlighted and Enable authenticator visible.
The visible Authenticator row says Not enabled and provides the button used to begin another setup. Open full-size screenshot.

There is a short interval between disable and successful enrollment when the account has no second factor. Keep the authenticated browser private and finish the replacement without leaving it unattended.

Expected result

The recovery code used for entry cannot be reused, the lost authenticator secret no longer works, and the replacement app supplies valid TOTP codes. Only the new recovery-code set remains available.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.