• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Ynlogge
  • Registrearje
  • Notifications
Skip to content

WordPress.org

Frysk

  • Hiem
  • Foarum (NL)
  • Foarum (IN)
  • Foarum (DU)
  • Oer
  • Kontakt
  • Blog
  • About Us: Our Mission
  • Get 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

Excellent 2FA plugin for WordPress

Hyrules 2 novimber, 2021
Excellent 2FA plugin for WordPress that does not require a third party. It will work with email, TOTP, hardware key and backup codes. Still a WIP but I see a lot of potential.

No support & massive error

annzo 25 oktober, 2021
Massive Error. No support at all, I've been waiting for an answer for over 4 weeks now.

Great and fast plugin

Thomas Duerlund Falkenberg 25 oktober, 2021
I have used other MFA plugins, but this is the easiest to setup and it's VERY fast. Haven't had any compability issues where others have. Great plugin and highly recommended.

Works like a charm

taurit 19 septimber, 2021
I set up second factor using U2F FIDO Key & Authy for my accounts. Works like a charm. Quick setup and no problems encountered 🙂

Simple and almost perfect, bug with WP All In One Security

mdsa82 7 septimber, 2021
When I activate the option to Force user exit after a while in the WP All In One Security plugin it breaks the Two Factor plugin, otherwise the plugin is simple and effective.

Awesome

nizaruddin987 31 augustus, 2021
Excellent plugin, works like charm. Worth having for every website.
Read all 142 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 Kalwar

“Two-Factor” has been translated into 28 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.1
  • Last updated: 2 months ago
  • Active installations: 30,000+
  • WordPress Version: 4.3 or higher
  • Tested up to: 5.8.1
  • PHP Version: 5.6 or higher
  • Languages:

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

    Translate into your language

  • Tags:
    authenticationlogintotptwo factortwo step
  • Advanced View

Ratings

See all
  • 5 stars 127
  • 4 stars 9
  • 3 stars 0
  • 2 stars 2
  • 1 star 4
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 Kalwar

Support

Issues resolved in last two months:

2 out of 9

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

Koade is Poëzy.