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.

Email TFA

2,013 sites Security covered
View on drupal.org

This module adds an extra layer of security to your site by implementing Two-Factor Authentication (TFA) through email. When a user attempts to log in, a verification code is sent to their registered email address, requiring them to enter it to gain access. This helps prevent unauthorized access even if a user's password is compromised.

This module enables Two-Factor Authentication (TFA) via email. It utilizes the user's registered email to send a verification code each time they attempt to log in. This adds an extra layer of security to your site by ensuring only authorized users can access their accounts.

Features:

  • Two-Factor Authentication:

    Requires an additional verification step using a one-time password sent to the user's email.

  • Configurable Settings:

    Admins can globally enable TFA for all users or allow users to activate it individually via their profiles.

  • Security Enhancement:

    Prevents unauthorized access even if the user's password is compromised.

  • Event Log:

    Tracks events related to the module, providing detailed logs for better monitoring and debugging.

  • Developer Mode:

    Displays the verification code at the top of the page (for development and testing purposes only).

  • Compatibility:

    Supports Drupal 10 and 11 (version 3.x). For Drupal 9 support, use version 2.x.

Requirements:

  • Ensure that your site is configured to send emails properly.
  • Important Note:

    Activating this module will log out all currently logged-in users, including the user who activates it.

Configuration:

  1. Navigate to Configuration » People » Email TFA Settings
  2. Select "Active" to enable the module.
  3. Choose between two modes:
  • Globally Enabled:

    TFA is mandatory for all users (with optional exclusions).

  • Users Optionally Enable:

    TFA is optional, and users can activate it via their profile settings.

Similar projects:

Activity

Total releases
6
First release
Jun 2025
Latest release
3 months ago
Releases (12 mo)
5 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.8 Stable Apr 1, 2026
3.0.0 Stable Mar 13, 2026
3.0.x-dev Dev Mar 12, 2026
2.0.7 Stable Mar 12, 2026
2.0.6 Stable Nov 4, 2025
2.0.5 Stable Jun 19, 2025