Provides a one-time passcode login flow where users receive a short code by email and type it into the site to log in, instead of using password or “magic link” logins.
Features
- Request a numeric login code at
/user/login. - Verify the code at
/user/login/verifyto sign in without a password. - Configurable code length and expiration at
admin/config/people/otp. - Password-based login and password reset pages are disabled/redirected.
Installation
- Place this module in
modules/contrib/otpand enable it. - Visit
admin/config/people/otpto adjust code length or expiration.
Usage
- Anonymous users visit
/user/login, enter their account e-mail, and receive a code via e-mail. - They enter the code at
/user/login/verifyto complete login. - Destination parameters are preserved when present and not external.
Issues
Bugs and feature requests should be reported in the issue queue:
https://github.com/backdrop-contrib/otp/issues.
Current Maintainers
- Alan Mels
- Seeking additional maintainers
Credits
License
This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.