# Two-factor authentication

Every sign-in needs a second step after your password.

## Email code

By default we email you a 6-digit code. Enter it on the sign-in page. The code works once and expires in
10 minutes. Select **Resend code** to get a new one.

## Authenticator app

You can use an authenticator app, such as Google Authenticator, instead of email codes.

1. Go to **Settings > Security**.
2. Select **Set up authenticator app**.
3. Scan the QR code with the app, or type the key shown under it.
4. Enter the 6-digit code from the app and select **Turn on**.
5. Save the 10 recovery codes. We show them only once.

When the app is on, sign-in asks for a code from the app instead of an email code. If you lose your phone,
select **Use a recovery code**. Each recovery code works once.

To go back to email codes, select **Turn off** and enter your password and a code from the app or a recovery
code.

## Trusted devices

On the code step, select **Trust this device for 30 days** to skip the code on that browser. Leave it clear
on shared computers.

You see your trusted devices under **Settings > Security**. Remove one from its menu, or select
**Sign out other devices** to remove them all. Changing or resetting your password, and turning the
authenticator app on or off, also removes them.

## Require an authenticator app for your team

Owners can turn on **Require authenticator app for all members** under **Settings > Security**. Members
without an app set one up the next time they sign in. **Settings > Members** shows how each member signs in.

## Lost access

If you lose both your authenticator app and your recovery codes, contact support. After we confirm who you
are, we reset your account to email codes.
