Skip to content

Commit

Permalink
Merge pull request #483 from sjinks/add-init-server-hook
Browse files Browse the repository at this point in the history
feat: Add a hook to customize WebAuthN server
  • Loading branch information
sjinks authored Jun 25, 2023
2 parents 4f34f29 + 7618a40 commit 3498864
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/class-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public static function create_webauthn_server(): ServerInterface {
$builder->setRelyingParty( $party );
$builder->setCredentialStore( new WebAuthn_Credential_Store() );
$builder->enableExtensions( 'appid' );

do_action( 'tfa_webauthn_init_server', $builder );

return $builder->build();
}

Expand Down

0 comments on commit 3498864

Please sign in to comment.