email_tfa
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:
- Navigate to
Configuration » People » Email TFA Settings - Select "Active" to enable the module.
- 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: