The advent calendar is open

A door every day, a raffle every week

New

EmeraldHost 2.0 is here: the new panel!

Learn more
Guides
Account and securitySet Up Two-Factor Authentication

How to Set Up Two-Factor Authentication for Your Account

Protect your account with an authenticator app, recovery codes or an email one-time code, confirm sensitive actions and disable 2FA

6 min read

With two-factor authentication (2FA for short) you need a second proof besides your password to sign in, e.g. a code from an app on your smartphone. Even if someone knows your password, they cannot get into your account this way. You find all settings for it in your account under Security.

Which second factors exist

Method How it works Can be combined with
Two-Factor Authentication (authenticator app) An app on your smartphone creates a new 6-digit code every few seconds. Recovery codes cover emergencies. Passkeys
Passkeys You confirm with your device, e.g. by fingerprint or face recognition. More in Set up passkeys. Authenticator app
Email One-Time Code We send you a code by email at every sign-in. nothing, it always stands alone

An authenticator app or a passkey protects your account better than a code by email. You can only use the email one-time code if neither the authenticator app nor a passkey is active, and vice versa.

Open Security

All steps in this guide start on the Security page:

  1. Open your account
    Click your profile picture or username in the top right and choose Account.

  2. Choose Security
    In the left sidebar, click Security under Profile.

Set up an authenticator app

You need an authenticator app on your smartphone that creates codes using the TOTP method. TOTP stands for time-based one-time passwords, most authenticator apps support it.

  1. Start the setup
    In the Two-Factor Authentication card, click Enable.

    "Two-Factor Authentication" card under Security with the "Enable" button highlighted

  2. Confirm your identity
    In the Confirm Password dialog, enter your current password and click Confirm. If you already have a passkey, you also confirm with it afterwards.

  3. Scan the QR code
    The Enable Two-Factor Authentication dialog opens. Scan the QR code with your authenticator app. If that does not work, copy the secret shown under "Can't scan? Copy this secret into your authenticator app." and paste it into the app.

    "Enable Two-Factor Authentication" dialog with the QR code (1), the key to type in next to it and the six boxes for the confirmation code (2)

  4. Enter the code
    Enter the 6-digit code your app now shows in Confirmation code.

  5. Enable
    Click Enable. The card then shows the label Enabled.

If the dialog reports "The provided two-factor authentication code was invalid.", check that the time on your smartphone is set automatically. The codes depend on the exact time.

Save your recovery codes

Recovery codes are backup codes for emergencies, e.g. if you lose your smartphone. They are not shown automatically after enabling, you open them yourself.

  1. Open the codes
    In the Two-Factor Authentication card, click Recovery Codes.

  2. Confirm your identity
    Confirm your password and then, in the Confirm with your second factor dialog, a code from your app or your passkey.

  3. Save the codes
    The Recovery Codes dialog shows you eight codes. Click Copy or Download and keep the codes in a safe place, e.g. in a password manager.

Each code works only once. With Regenerate you create a new set, and the old codes become invalid. We also inform you about new codes by email.

Sign in with the authenticator app

  1. Sign in as usual
    Sign in with your email or username and password, or with Discord, Google or Twitch.

  2. Enter the code
    The Two Factor Authentication dialog opens. Enter the current 6-digit code from your app and click Log in.

If you do not have your smartphone at hand, click Use a recovery code, enter one of your recovery codes and click Log in.

If you also have a passkey, the dialog asks for the passkey first (Confirm with passkey). With Use your authenticator app or a recovery code you switch to the code, with Confirm with a passkey instead back to the passkey.

Sign in with an email one-time code

With the Email One-Time Code we send a 6-digit code to your email address at every sign-in. You can only enable this method if the authenticator app is disabled and you have no passkeys.

  1. Start the setup
    In the Email One-Time Code card, click Enable and confirm your password.

    "Email One-Time Code" card under Security with the "Enable" button highlighted

  2. Request a code
    In the Enable Email One-Time Code dialog you see your email address under Code will be sent to. Click Send code.

  3. Enter the code
    Enter the code from the email in Confirmation code and click Enable.

From then on, the Email One-Time Code dialog opens after your password when you sign in. The code is valid for 10 minutes. After five wrong entries you have to request a new code. If no email arrived, click Resend code.

To turn it off, click Disable in the Email One-Time Code card. After your password you confirm with a code by email and click Disable in the Disable Email One-Time Code dialog.

Confirm sensitive actions

For changes that affect your account, the dashboard asks once more whether it is really you:

Prompt When it appears
Confirm Password e.g. when enabling and disabling 2FA, managing passkeys, using the email one-time code, signing out sessions and connecting or disconnecting Discord, Google or Twitch. If you confirmed your password recently, the prompt is skipped.
Confirm with your second factor As soon as a second factor is active: when adding or removing a factor, disabling the authenticator app, showing the recovery codes and changing your username or email address in your profile.

In the Confirm with your second factor dialog, depending on the method, you enter a code from your authenticator app, confirm with Confirm with passkey or request a code by email with Send code. If the authenticator app is active, you can also use a recovery code with Use a recovery code, which is used up afterwards.

If your account has no password because you registered with a provider, you confirm through the linked provider, a passkey or a code by email instead of your password.

Disable two-factor authentication

  1. Choose Disable
    In the Two-Factor Authentication card, click Disable.

  2. Confirm your identity
    Confirm your password and then your second factor.

  3. Confirm disabling
    In the Disable Two-Factor Authentication dialog, click Disable.

Written byEmeraldHost Team
Last updated on Dec 1, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord

Join our Discord community 1257 members online right now