Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds email as a Two-Factor Authentication (2FA) option to the core TFA module. It allows users to receive a one-time passcode via email as a second step during login.

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
7 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Slowing

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