跳至主要內容
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 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

由Tushar Sharma
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

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.

螢幕截圖

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

安裝

  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.

常見問題

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.

評價

Works like a charm, but….

getgiffy 2026年2月25日
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….
閱讀全部1個評價

貢獻者及開發者

“Email OTP Login” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Tushar Sharma

將 Email OTP Login 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

1.0.0

  • Initial release with OTP verification for login.

其它

  • Version 1.0.0
  • Last updated 7 個月之前
  • 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
  • 進階顯示

評分

3 out of 5 stars.
  • 0 5-star reviews 5 stars 0
  • 0 4-star reviews 4 stars 0
  • 1 3-star review 3 stars 1
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

貢獻者

  • Tushar Sharma

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。
The WordPress® trademark is the intellectual property of the WordPress Foundation.