Skip to content

Commit

Permalink
Support user verification options for getAssertion
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiper committed Nov 19, 2018
1 parent faa8535 commit 9a72391
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/webapp/js/webauthn.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ function getAssertion() {
if ('allowCredentials' in parameters) {
requestOptions.allowCredentials = credentialListConversion(parameters.allowCredentials);
}
if ($('#userVerification').value != "none") {
requestOptions.userVerification = $('#userVerification').value;
}

console.log(requestOptions);

Expand Down

0 comments on commit 9a72391

Please sign in to comment.