Lost your two-factor phone? How to sign in again

Updated 2026-10-29

On this page
  1. With a recovery code
  2. Without recovery codes
  3. Good to know
  4. Common questions

If your phone is lost, reset or replaced, you can still get in. Which way depends on whether you kept your recovery codes and who you are.

With a recovery code

  1. Sign in with your username and password as usual.
  2. On the Verification page, enter one of your recovery codes in Authentication code.
  3. Click Verify.
  4. Open Two-Factor Auth, enter your Current password under Disable and click Disable.
  5. Set up two-factor again with your new phone. You get new recovery codes.

Each recovery code works once.

Without recovery codes

Who you areWho can turn your two-factor off
Customer (account owner)Your hosting provider
Team memberThe account owner: Team Members → Turn off 2FA next to you
ResellerThe server administrator
AdministratorAnyone with root access to the server

The server administrator turns off two-factor for an administrator, reseller or customer by logging in to the server as root and running, with the username:

sahaab 2fa:disable USERNAME

The person then signs in with the password only and can set up two-factor again.

Good to know

  • Before you lose your phone: keep the recovery codes somewhere safe, or use an authenticator app that backs up its codes.
  • A team member's two-factor is turned off by the account owner in the control panel, not with the command above.
  • After turning it off, set it up again at once, so the login is protected.
  • The mobile app: if the lost phone was signed in to the app, sign it out under Phones signed in to the app on the Two-Factor Auth page.

Common questions

My recovery codes don't work.

Each code works once, and generating new codes makes the old ones invalid. Enter the code exactly as shown (spaces and dashes do not matter).

It says "Too many wrong codes. Please log in again."

After 5 wrong codes the password is asked again. Start over from the login page.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.