Zum Inhalt springen
WordPress.org

Deutsch (Schweiz)

  • Themes
  • Plugins
  • News
  • Über
  • Mitwirken
  • Lerne WordPress
  • Hol dir WordPress
Hol dir WordPress
WordPress.org

Plugin Directory

Email OTP Login

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Email OTP Login

By Tushar Sharma
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Email OTP Login adds an additional layer of security to your WordPress site by requiring users to verify an OTP sent to their email after entering their username and password. This ensures that only users with access to the registered email can log in.

Features:

  • Email OTP verification during login.
  • OTP expires in 5 minutes (configurable).
  • OTP stored securely using WordPress password hashing.
  • Works with the default WordPress login form.
  • Uses WordPress built-in wp_mail() function (works with SMTP plugins).

This plugin does not modify WordPress core files.

License

This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 or later.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Screenshots

  • Standard login screen with OTP verification page.
  • Example email received with OTP.
  • OTP verification form after login.

Installation

  1. Upload the plugin folder email-otp-login to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress.
  3. Ensure your site can send emails (install a plugin like «WP Mail SMTP» if needed).
  4. Test by logging in or registering a new account.
    • After entering credentials, an OTP will be emailed.
    • Enter the OTP to complete login.

FAQ

Does this replace my existing password?

No. Users must enter their normal username/password first, then OTP.

What happens if the OTP email does not arrive?

Make sure your site can send emails. We recommend configuring an SMTP plugin for reliable email delivery.

Can I change OTP expiration time?

Yes. In the plugin class, $otp_expiration controls OTP lifetime (default 300 seconds = 5 minutes).

Can I use this with WooCommerce login?

This version is built for native WordPress login. In next release, I will add WooCommerce support.

Is OTP stored securely?

Yes. OTP is stored using the same mechanism WordPress uses for user passwords.

Reviews

Works like a charm, but….

getgiffy 25. Februar 2026
Works fine, but keep in mind that if you use login-based WP-API access that this also requires OTP. So your existing API calls might fail….
Read all 1 review

Contributors & Developers

“Email OTP Login” is open source software. The following people have contributed to this plugin.

Contributors
  • Tushar Sharma

Translate “Email OTP Login” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release with OTP verification for login.

Meta

  • Version 1.0.0
  • Last updated 9 Monaten ago
  • Active installations 30+
  • WordPress version 6.3 or higher
  • Tested up to 6.8.5
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    email verificationloginotpsecuritytwo factor authentication
  • Advanced View

Ratings

3 von 5 Sternen.
  • 0 5-Sterne-Rezensionen 5 Sterne 0
  • 0 4-Sterne-Rezensionen 4 Sterne 0
  • 1 3-Sterne-Rezension 3 Sterne 1
  • 0 2-Sterne-Rezensionen 2 Sterne 0
  • 0 1-Sterne-Rezensionen 1 Stern 0

Your review

See all reviews

Contributors

  • Tushar Sharma

Support

Got something to say? Need help?

View support forum

  • Über
  • News
  • Hosting (engl.)
  • Datenschutz
  • Showcase (engl.)
  • Themes
  • Plugins
  • Vorlagen
  • Learn
  • Support
  • Entwicklung (engl.)
  • WordPress.tv ↗
  • Mitwirken (engl.)
  • Veranstaltungen
  • Spenden (engl.) ↗
  • Five for the Future (engl.)
  • WordPress.com ↗
  • Matt (engl.) ↗
  • bbPress (engl.) ↗
  • BuddyPress (engl.) ↗
WordPress.org
WordPress.org

Deutsch (Schweiz)

  • Das X-Konto (früher Twitter) von WordPress.org besuchen
  • Das Bluesky-Konto von WordPress.org besuchen
  • Das Mastodon-Konto von WordPress.org besuchen
  • Das Threads-Konto von WordPress.org besuchen
  • Die Facebook-Seite von WordPress.org besuchen
  • Das Instagram-Konto von WordPress.org besuchen
  • Das LinkedIn-Konto von WordPress.org besuchen
  • Das TikTok-Konto von WordPress.org besuchen
  • Den YouTube-Kanal von WordPress.org besuchen
  • Das Tumblr-Konto von WordPress.org besuchen
Code ist Poesie.
The WordPress® trademark is the intellectual property of the WordPress Foundation.