• เกี่ยวกับเวิร์ดเพรส
    • เกี่ยวกับเวิร์ดเพรส
    • WordPress.org
    • เอกสารประกอบ
    • สนับสนุน
    • ผลตอบรับ
  • เข้าสู่ระบบ
  • ลงทะเบียน
Skip to content

WordPress.org

Thai

  • หน้าหลัก
  • ธีม
  • ปลั๊กอิน
  • ฟอรั่ม
  • ทีม
  • การมีส่วนร่วม
  • Meetup
  • WordCamp Bangkok
  • บล็อก
  • เกี่ยวกับ
  • Gutenberg
  • ดาวน์โหลด WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers
Download

Two-Factor

By Plugin Contributors
  • Details
  • Reviews
  • Support
  • Development

Description

Use the “Two-Factor Options” section under “Users” → “Your Profile” to enable and configure one or multiple two-factor authentication providers for your account:

  • Email codes
  • Time Based One-Time Passwords (TOTP)
  • FIDO Universal 2nd Factor (U2F)
  • Backup Codes
  • Dummy Method (only for testing purposes)

For more history, see this post.

Actions & Filters

Here is a list of action and filter hooks provided by the plugin:

  • two_factor_providers filter overrides the available two-factor providers such as email and time-based one-time passwords. Array values are PHP classnames of the two-factor providers.
  • two_factor_enabled_providers_for_user filter overrides the list of two-factor providers enabled for a user. First argument is an array of enabled provider classnames as values, the second argument is the user ID.
  • two_factor_user_authenticated action which receives the logged in WP_User object as the first argument for determining the logged in user right after the authentication workflow.
  • two_factor_token_ttl filter overrides the time interval in seconds that an email token is considered after generation. Accepts the time in seconds as the first argument and the ID of the WP_User object being authenticated.

Get Involved

Development happens on GitHub. Join the #core-passwords channel on WordPress Slack (sign up here).

Here is how to get started:

$ git clone https://github.com/wordpress/two-factor.git
$ npm install

Then open a pull request with the suggested changes.

Screenshots

  • Two-factor options under User Profile.
  • U2F Security Keys section under User Profile.
  • Email Code Authentication during WordPress Login.

Reviews

Simple, clean, works

Pierre LeBaux 29 มกราคม 2021
Works as advertised, clean and reasonably maintained.

二步认证或者在中国用短信认证来得方便

iamxk 19 มกราคม 2021
二步认证或者在中国用短信认证来得方便。 但国外真的很喜欢用谷歌那套。

Great plugin

bolhachefe 7 ธันวาคม 2020
This is a great plugin and is the only one I know of that provides two authentication factors per email code.

More security to your blog

fergofer00 4 ธันวาคม 2020
I have been using this plugin for a long time. Now that Safari 14 is the fastest browser, I have noticed that the Fido U2F functionality of this plugin does not work. I don't know if it is a problem with Safari, or the plugin. I hope it will work again soon.

Doesn’t work with security key

Donald Jenkins 30 ตุลาคม 2020
This plugin works with an authenticator app, but the security key feature is defective. Message to support elicited no reply, leading one to wonder whether this plugin is still being actively developed.

It’s so good that you’d want it to be a part of WP core

Ashutosh Sharma 29 ตุลาคม 2020
I really love this plugin. And the best thing is that unlike some other plugins that don't work with custom login pages or membership plugins, it works without any effort! Thanks to all the collaborators who have put their time and effort!
Read all 128 reviews

Contributors & Developers

“Two-Factor” is open source software. The following people have contributed to this plugin.

Contributors
  • George Stephanis
  • Derek Herman
  • Steven Word
  • Daisuke Takahashi
  • Scott Grant
  • Aaron D. Campbell
  • John Blackbourn
  • Steve Grunwell
  • Stephen Edgar
  • Kaspars
  • Ali H. Arshad
  • Arslan Ahmed

“Two-Factor” has been translated into 25 locales. Thank you to the translators for their contributions.

Translate “Two-Factor” into your language.

Interested in development?

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

Changelog

See the release history.

Meta

  • Version: 0.7.0
  • Last updated: 6 เดือน ago
  • Active installations: 20,000+
  • WordPress Version: 4.3 or higher
  • Tested up to: 5.5.3
  • PHP Version: 5.6 or higher
  • Languages:

    Albanian, Arabic, Chinese (China), Chinese (Hong Kong), Chinese (Taiwan), Czech, Danish, Dutch, English (Canada), English (UK), English (US), Finnish, French (France), Galician, German, Italian, Japanese, Norwegian (Bokmål), Polish, Russian, Spanish (Mexico), Spanish (Spain), Spanish (Venezuela), Swedish, Urdu และ Vietnamese.

    Translate into your language

  • Tags:
    authenticationlogintotptwo factortwo step
  • Advanced View

Ratings

See all
  • 5 stars 114
  • 4 stars 8
  • 3 stars 1
  • 2 stars 2
  • 1 star 2
Log in to submit a review.

Contributors

  • George Stephanis
  • Derek Herman
  • Steven Word
  • Daisuke Takahashi
  • Scott Grant
  • Aaron D. Campbell
  • John Blackbourn
  • Steve Grunwell
  • Stephen Edgar
  • Kaspars
  • Ali H. Arshad
  • Arslan Ahmed

Support

Issues resolved in last two months:

0 out of 6

View support forum

  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

โค้ดเป็นดั่งบทกวี