georgestephanis / two-factor
Two-Factor Authentication for WordPress.
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 724
Watchers: 47
Forks: 151
Open Issues: 81
Type:wordpress-plugin
Requires
- php: >=5.6
Requires (Dev)
- automattic/vipwpcs: ^3.0
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- php-coveralls/php-coveralls: ^2.5
- phpcompatibility/php-compatibility: 10.x-dev as 9.99.99
- phpcompatibility/phpcompatibility-wp: ^2.1
- phpunit/phpunit: ^9.5
- roots/wordpress-core-installer: ^1.100
- roots/wordpress-full: ~6.0
- spatie/phpunit-watcher: ^1.23
- wp-coding-standards/wpcs: ^3.1
- wp-phpunit/wp-phpunit: ~6.0
- yoast/phpunit-polyfills: ^2.0
- dev-master
- 0.9.1
- 0.9.0
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.7.0-rc.1
- 0.6.0
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.8
- 0.4.7
- 0.4.6
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- dev-625-revert-php-wp-req-bumps
- dev-556-enable-totp-on-submit
- dev-485-add-backup-notice
- dev-release/0.9.2
- dev-add/fallback-email
- dev-update-screenshots
- dev-update/short-desc
- dev-update/headers
- dev-reauth-no-providers-fatal
- dev-broadcast-events
- dev-pr-389-recrypt
- dev-remove/fido-u2f
- dev-dxw-feature/generate-qr-internally
- dev-core/proposal
- dev-feature/profile-shortcode
- dev-feature/email-code-link
- dev-ux/user-configuration
- dev-fix/xmlrpc-bypass
- dev-add/totp-ajax
This package is not auto-updated.
Last update: 2024-10-24 17:44:11 UTC
README
Two-Factor plugin for WordPress. View on WordPress.org →
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:
$ 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
- Run
npm test
ornpm 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. All merges to the master
branch are committed to the trunk
directory while all Git tags are pushed as versioned releases under the tags
directory.
Known Issues
- PHP codebase doesn't pass the WordPress coding standard checks, see #437.
Credits
Created by contributors and released under GPLv2 or later.
Security
Please privately report any potential security issues to the WordPress HackerOne program.