Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

two-factor

> 安全
Open source

Two-Factor Authentication for WordPress.

817 stars0 likes4 views
WebsiteGitHub

About

Two-Factor Authentication for WordPress.

Two-Factor

Two-Factor plugin for WordPress. View on WordPress.org →

Description

The Two-Factor plugin adds an extra layer of security to your WordPress login by requiring users to provide a second form of authentication in addition to their password. This helps protect against unauthorized access even if passwords are compromised.

Usage

See the readme.txt for installation and usage instructions.

Contribute

Please report (non-security) issues and open pull requests on GitHub. See below for information on reporting potential security/privacy vulnerabilities.

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

To use the provided development environment, you'll first need to install and launch Docker. Once it's running, the next steps are:

bash
git clone https://github.com/wordpress/two-factor.git
cd two-factor
npm install
npm run build
npm run env start

See package.json for other available scripts you might want to use during development, like linting and testing.

When you're ready, open a pull request with the suggested changes.

Testing

  1. Run npm test or npm run test:watch.

To generate a code coverage report, be sure to start the testing environment with coverage support enabled: npm run env start -- --xdebug=coverage

To view the code coverage report, you can open a web browser, go to File > Open file..., and then select {path to two-factor}/tests/logs/html/index.html.

Deployments

Deployments to WP.org plugin repository are handled automatically by the GitHub action .github/workflows/deploy.yml. Versioned releases are deployed from Git tags under the tags directory. See the workflow for current branch/release conditions used for readme and asset updates.

View release documentation →

Changelog

A complete listing of all notable changes are documented in CHANGELOG.md.

Credits

Created by contributors and released under GPLv2 or later.

Security

Please privately report any potential security issues to the WordPress HackerOne program.

Issues· 93 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP2faauthenticationtotpwordpress

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category安全
PricingOpen source

> Related tools

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.