描述
通过“用户”→“个人资料”下的“双重身份验证选项”部分,为您的账户启用和配置一个或多个双重身份验证方式:
- 邮件验证码
- 基于时间的一次性密码(TOTP)
- FIDO 通用第二因素(U2F)
- 备用验证码
- 虚拟方式(仅用于测试目的)
有关更多历史,请参阅这篇文章。
动作和过滤器
以下列出该插件提供的动作和过滤器钩子:
two_factor_providers
过滤器:将覆盖可用的双重身份验证提供方式,例如电子邮件和基于时间的一次性密码。数组值为双重身份验证方式的 PHP 类名。two_factor_enabled_providers_for_user
过滤器:将覆盖提供给用户启用的双重身份验证方式清单。第一个参数为启用的方式提供类名数组作为值,第二个参数为用户 ID。two_factor_user_authenticated
动作:接收已登录的WP_User
对象作为第一个参数,用在身份验证工作流之后确定登录的用户。two_factor_token_ttl
过滤器:将覆盖生成电子邮件验证码后的过期时间(以秒为单位)。第一个参数接受以秒为单位的时间,并用于验证正在验证的WP_User
对象的 ID。
参与其中
开发在GitHub上进行。
评价
2023年1月24日
Works flawlessly! Easy UI for users to setup their 2FA, does not need much configuration if at all. And what I appericiate, does just one thing and does it good - instead of being packed with multiple more or less related functionalities.
2022年12月6日
This is a great plugin to enable something Wordpress should probably offer out of the box. With all the hits I see trying to login to my site, I feel safer knowing I have two-factor enabled!
My only request would be to be able to set a cookie to trust a given browser longer so I don't need to reauthenticate as often on my main laptop.
2022年12月6日
The best to increase the security of your WordPress.
2022年11月8日
Good Plugin. Best for security
2022年9月20日
I love HOTP. I wish they made it longer and added characters and letters in between. I read they can hack the 2FA app six digits in less than a day. With these add-ons, it would take years.
Many thanks
2022年7月18日
Wow nice plugin
贡献者及开发者
“Two-Factor” 是开源软件。 以下人员对此插件做出了贡献。
贡献者更新日志
查看发布历史记录。