Skip to content

Commit

Permalink
fix(filters): Prevents running the auth url filter twice (#405)
Browse files Browse the repository at this point in the history
Co-authored-by: Raphaël Droz <raphael.droz+floss@gmail.com>
Co-authored-by: Tim Nolte <tim.nolte@ndigitals.com>
  • Loading branch information
3 people authored May 23, 2023
1 parent c157cfa commit 9363477
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions includes/openid-connect-generic-client-wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,9 @@ public function get_authentication_url( $atts = array() ) {
rawurlencode( $atts['acr_values'] )
);

$this->logger->log( apply_filters( 'openid-connect-generic-auth-url', $url ), 'make_authentication_url' );
return apply_filters( 'openid-connect-generic-auth-url', $url );
$url = apply_filters( 'openid-connect-generic-auth-url', $url );
$this->logger->log( $url, 'make_authentication_url' );
return $url;
}

/**
Expand Down

0 comments on commit 9363477

Please sign in to comment.