跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

LoginArmor – Email 2FA

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

LoginArmor – Email 2FA

作者:TechArk Solutions
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

LoginArmor adds an extra layer of protection to WordPress logins by requiring a one-time verification code after a valid username and password are entered.

Key features

  • Email-based one-time passcodes for WordPress logins
  • Apply 2FA to selected user roles
  • Apply 2FA to specific users
  • Optional grace period before activation is enforced
  • Recovery codes for backup access
  • Customizable email subject and login code email template
  • Optional debug logging to wp-content/uploads/loginarmor-email-2fa/loginarmor-debug.log
  • Dedicated settings screen inside the WordPress admin

How it works

  1. A user enters a valid username and password.
  2. LoginArmor sends a one-time code to the user’s email address.
  3. The user enters the code to complete login.
  4. If needed, the user can use a recovery code instead.

Recovery codes

The plugin includes recovery codes as a backup login option. Codes are stored securely as hashes in user meta. Plaintext codes are shown only temporarily so users can save or download them once.

Grace period

You can optionally set a grace period in days. During the grace period, eligible users can continue signing in while they complete activation. After the grace period ends, 2FA is enforced.

No external service required

LoginArmor uses WordPress email delivery and does not require a third-party 2FA service.

Privacy

LoginArmor does not connect to an external third-party verification service.

The plugin may process and store the following data on your WordPress site:

  • Email-based one-time passcodes for login verification
  • Recovery code hashes stored in user meta
  • Optional debug log entries in wp-content/uploads/loginarmor-email-2fa/loginarmor-debug.log
  • Temporary transients used for login, cooldown, and verification flow

This data stays on your site unless your own email delivery system or hosting stack routes it elsewhere.

屏幕截图

  • Configure 2FA Setting
  • Configure Email Template

安装

  1. Upload the plugin files to the /wp-content/plugins/loginarmor-email-2fa/ directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to LoginArmor in the WordPress admin menu.
  4. Enable two-factor authentication.
  5. Choose the user roles and/or specific users who should use 2FA.
  6. Configure the grace period if needed.
  7. Customize the email subject and email template if desired.
  8. Save your settings.

常见问题

Can I apply 2FA to only some users?

Yes. You can apply 2FA by user role, by specific users, or both.

What happens if a user cannot access their email?

They can use a recovery code if one has been generated and saved.

Can I customize the email content?

Yes. You can customize the sender email address, subject line, and login code email template from the plugin settings.

Does the plugin require a third-party account?

No. It works with your WordPress site and its email sending setup.

Where are recovery codes managed?

Recovery codes are available from the user profile area and are intended to be saved by the user for emergency access.

评价

此插件暂无评价。

贡献者及开发者

「LoginArmor – Email 2FA」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • TechArk Solutions
  • Yogesh Damasiya

帮助将「LoginArmor – Email 2FA」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0

  • Initial release
  • Improved settings handling and login flow stability
  • Refined admin UI and general plugin behavior

额外信息

  • 版本 1.0
  • 最后更新:1 周前
  • 活跃安装数量 不到10
  • WordPress 版本 6.0 或更高版本
  • 已测试的最高版本为 6.9.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    2FAEmail OTPlogin securitytwo factor authentication
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • TechArk Solutions
  • Yogesh Damasiya

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.