• Acerca de WordPress
    • Acerca de WordPress
    • WordPress.org
    • Documentación
    • Support
    • Sugerencias
  • Acceder
  • Registrarse
Skip to content

WordPress.org

Español (Guatemala)

  • Inicio
  • Temas
  • Plugins
  • Blog
  • About
  • Get WordPress
  • Participa en la Comunidad
  • Versiones
  • Contacto
  • About
  • Download

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

Functional and efficient plugin, thanks !

Cyrille37 7 de marzo, 2021
Thanks for this plugin, efficient to bring more security to WordPress.

So simple, and so good

marverix 27 de febrero, 2021
Works like a charm out of the box. My Yubikey worked immediately. Zero issues.

The plugin is great but has some issues

xintv123 27 de febrero, 2021
I want to select Google Authenticator for the first time to enable the plug-in, but the QR code image given by the plug-in cannot be loaded. I can only set it through the key. After the Google authentication is set up, although the back-end can log in normally, the front-end is because I used it. The api login method causes the api login to be disabled. I hope that the next version can add an option to automatically open the api login when the backend is logged in. Finally, I have to say that the setting options in the personal data are not displayed perfectly on the mobile terminal. It is almost messy, which makes me uncomfortable. Hope the next version can improve the above problems

Simple, clean, works

Pierre LeBaux 29 de enero, 2021
Works as advertised, clean and reasonably maintained.

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

iamxk 19 de enero, 2021
二步认证或者在中国用短信认证来得方便。 但国外真的很喜欢用谷歌那套。

Great plugin

bolhachefe 7 de diciembre, 2020
This is a great plugin and is the only one I know of that provides two authentication factors per email code.
Read all 129 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 meses 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, y Vietnamese.

    Translate into your language

  • Tags:
    authenticationlogintotptwo factortwo step
  • Advanced View

Ratings

See all
  • 5 stars 116
  • 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 5

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

El Código es poesía.