Skip to content

Commit

Permalink
Merge pull request #1567 from xwp/feature/1386-2fa-connector
Browse files Browse the repository at this point in the history
Add Two Factor connector
  • Loading branch information
marcinkrzeminski authored Oct 8, 2024
2 parents 9d2accb + 3bb555d commit d2ceb3f
Show file tree
Hide file tree
Showing 8 changed files with 538 additions and 4 deletions.
1 change: 1 addition & 0 deletions classes/class-connectors.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public function load_connectors() {
'gravityforms',
'jetpack',
'mercator',
'two-factor',
'user-switching',
'woocommerce',
'wordpress-seo',
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"wpackagist-plugin/classic-editor": "1.6.4",
"wpackagist-plugin/easy-digital-downloads": "3.3.1",
"wpackagist-plugin/jetpack": "13.6",
"wpackagist-plugin/two-factor": "0.9.1",
"wpackagist-plugin/user-switching": "1.8.0",
"wpackagist-plugin/wordpress-seo": "23.1",
"wpackagist-plugin/wp-crontrol": "1.17.0",
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,31 @@
</details>


## Connector: WP_Stream\Connector_Two_Factor

### Actions

- update_user_meta
- updated_user_meta
- added_user_meta
- two_factor_user_authenticated
- wp_login_failed

### Class register()

<details>
<summary>This is the register method for the Connector. Occasionally there are additional actions in here.</summary>

```php
public function register() {
parent::register();

add_filter( 'wp_stream_log_data', array( $this, 'log_override' ) );
}
```
</details>


## Connector: WP_Stream\Connector_User_Switching

### Actions
Expand Down
Loading

0 comments on commit d2ceb3f

Please sign in to comment.