This project is not covered by Drupal’s security advisory policy.
Introductory
This module helps in achieving Two-factor authentication (2FA) by sending and validation OTP via email. This process is often referred to as two-step verification, which enables a security process in which the user provides two authentication factors to verify they are who they say they are.
This will enhance the authentication process of reset password workflow by adding email OTP verification.
How it will work?
- Process will begin froma resetting password. Once user has the initiated the password reset workflow he/she will receive two email one is reset password email and other is Email OTP, which will contain six-digit verification code.
- After clicking on reset password link user has to add its Email OTP into provided OTP verification text-field. Once provided it will a be verified to the OTP saved for a current user. If provided OTP has not expired and is validated as correct OTP only then user password will be reset else it will be prompt "Either OTP has expired or invalid OTP provided.
Backend Configuration
User should be able to set following configurations:
- Should have ability to enable or disable the functionality.
- Should have ability to set subject and message of the email to be sent.
- Should have ability to set OTP expiration time.
- User should have capability to reset OTP from reset screen itself.
Module Configuration Steps:
- Enable module normally.
- Go to this URL "admin/config/integration/reset-email-otp-auth"
- Set configuraiton mail template, wrong attempt limit and lenght of OTP character.
- Make sure in Body template [OTP] must be there.
- Save form configuration and go to "admin/structure/block"
- Go to content region and add OTP form block, Set visibitly url in form block "/user/reset/*"
- Save form block.
Supporting organizations:
Vulnerability Access
| Attachment | Size |
|---|---|
| Reset Password Email OTP Auth | 40.31 KB |
Project information
- Project categories: Security
7 sites report using this module
- Created by shamsher_alam on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.





