Skip to content

Commit

Permalink
Fix wrong number of accepted args
Browse files Browse the repository at this point in the history
  • Loading branch information
petitphp committed Mar 22, 2024
1 parent 550e0aa commit c3ea74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/openid-connect-generic-client-wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static function register( OpenID_Connect_Generic_Client $client, OpenID_C

// Modify authentication-token request to include PKCE code verifier.
if ( true === (bool) $settings->enable_pkce ) {
add_filter( 'openid-connect-generic-alter-request', array( $client_wrapper, 'alter_authentication_token_request' ), 15, 3 );
add_filter( 'openid-connect-generic-alter-request', array( $client_wrapper, 'alter_authentication_token_request' ), 15, 2 );
}

return $client_wrapper;
Expand Down

0 comments on commit c3ea74e

Please sign in to comment.