Drupal is a registered trademark of Dries Buytaert

tfa_email_support

12 sites No security coverage
View on drupal.org

TFA Email is a lightweight plugin that extends the core functionality of the TFA (Two-Factor Authentication) module by adding support for email-based one-time passcodes (OTP) as a second factor.

By default, the TFA module does not include email as a 2FA option. This plugin fills that gap, allowing you to use email as the second step in the login process, without needing SMS, authenticator apps, or third-party integrations.

Features

  1. Seamless integration with the TFA module
  2. Sends a one-time passcode (OTP) to the user’s registered email
  3. Minimal configuration required
  4. Ideal for sites where email is the most accessible 2FA method

Requirements

  1. Drupal core
  2. TFA module

Setup Instructions

Install the TFA module if you haven't already:
composer require drupal/tfa

Install this module (TFA Email plugin)

Enable both modules:
drush en tfa tfa_email_support
Or use the admin UI

Go to:
Admin > Configuration > People > TFA
/admin/config/people/tfa_email_support

In the Default validation plugin dropdown, select:
Email OTP

Save your configuration.

Activity

Total releases
3
First release
Jul 2025
Latest release
3 months ago
Release cadence
72 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Nov 28, 2025
1.0.0 Stable Nov 28, 2025
1.0.x-dev Dev Jul 8, 2025