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.

Steps
- 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.
- 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.
- Open Profile → Password & 2FA. Confirm that you know the current password; an OAuth-only account must set one before it can turn 2FA off.
- Select Disable, provide the password, and complete Disable 2FA. This destroys the old authenticator secret and all remaining old recovery codes.
- Immediately choose Enable authenticator, scan the new QR, enter the six-digit value, and select Verify & enable.
- Store the newly displayed ten recovery codes and confirm the Authenticator badge.
- Review sessions if the factor was lost through theft or account compromise.

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.
Related guides
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.