Skip to content

Commit

Permalink
Change variable name: uvpaaAvailable → uvpaAvailable (#1500)
Browse files Browse the repository at this point in the history
`uvpaaAvailable` would mean "user-verifying platform authenticator available available"
  • Loading branch information
lgarron committed Oct 28, 2020
1 parent a780e17 commit f729c38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Expand Up @@ -622,9 +622,9 @@ a [=user-verifying platform authenticator=].
if (!window.PublicKeyCredential) { /* Client not capable of the API. Handle error. */ }

PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()
.then(function (uvpaaAvailable) {
.then(function (uvpaAvailable) {
// If there is a user-verifying platform authenticator
if (uvpaaAvailable) {
if (uvpaAvailable) {
// Render some RP-specific UI and get a Promise for a Boolean value
return askIfUserWantsToCreateCredential();
}
Expand Down

0 comments on commit f729c38

Please sign in to comment.