Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port WebAuthn registration to MadWizard library #146

Closed
wants to merge 12 commits into from
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ WordPress.org-specific customizations for the Two Factor plugin
return in_array( $user->user_login, $GLOBALS['supes'], true );
}
```
1. Install and build the `wporg-mu-plugins` repository.
1. `git clone https://github.com/WordPress/wporg-mu-plugins.git --branch build wp-content/mu-plugins/pub`
1. Add this code to your `wp-content/mu-plugins/0-sandbox.php`:
```php
require_once WPMU_PLUGIN_DIR. '/wporg-mu-plugins/mu-plugins/loader.php';
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {},
"require": {
"madwizard/webauthn": "~0.9.1"
},
"require-dev" : {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"wp-coding-standards/wpcs": "2.3.*",
Expand Down
Loading