# Turn on two-factor authentication (2FA)

> Require an email verification code at password login for everyone in your organization, with an optional delivery fallback for custom SMTP.

Source: https://support.teachfloor.com/articles/two-factor-authentication  
Collection: Organization Settings  
Last updated: 2026-11-22

Teachfloor supports **two-factor authentication (2FA)** through email verification. When it is on, users must enter a code sent to their email address after logging in with their password. This helps protect accounts from unauthorized access.

## Turn on two-factor authentication

> **Note:** You need the **Owner** or **Admin** role to change this setting.

1. Log in to Teachfloor as an Owner or Admin.
2. Click **Settings** (gear icon) in the top-right corner.
3. Select the **General** tab.
4. Open the **Security** section.
5. Turn on **Require Email Verification for Password Login**.
6. Optional: once that option is on, an **Enable Email Delivery Fallback** switch appears. It is on by default. See Email delivery and SMTP fallback below.
7. Click **Save**.

![Settings General tab on the Security section, with arrows on the gear icon, the General tab and the Require Email Verification for Password Login toggle above the Save button](https://cdn.sanity.io/images/l9t3o6uq/production/29966a5970572885587f223fe4a1cfc0ccf34ff8-1919x998.png)

From now on, users who log in with a password must verify their email.

## How email verification works

1. The user enters their email address and password.
2. Teachfloor sends a verification code to their registered email address.
3. The user enters the code to confirm their identity.
4. Once verified, the user can access their account.

## Email delivery and SMTP fallback

Teachfloor can send email through a custom SMTP configuration on your organization's own email domain. See [Set up your sender email for notifications](https://support.teachfloor.com/articles/smtp-sender-email).

To make sure verification codes still arrive if your custom SMTP server fails, Teachfloor includes an email delivery fallback, controlled by the **Enable Email Delivery Fallback** switch in **Settings** > **General** > **Security**. It is on by default.

- **On**: if your custom SMTP configuration is not working, Teachfloor sends the verification code from its own email domain instead.
- **Off**: verification codes are sent only through your own email provider.

> **Important:** If you turn the fallback off and your SMTP server stops working, users who log in with a password cannot receive their code and will be locked out until delivery is fixed.

## FAQ

### Is two-factor authentication required for all users?

Once it is on, email verification is required for every user who logs in with an email address and password.

### Does it work with custom SMTP settings?

Yes. While **Enable Email Delivery Fallback** is on (the default), Teachfloor falls back to its own email domain if your custom SMTP service fails.

### Does this apply to SSO logins?

No. The setting applies only to password-based logins. SSO authentication is handled by your identity provider. See [Set up single sign-on (SSO)](https://support.teachfloor.com/articles/single-sign-on-setup).
