Skip to content

Commit

Permalink
fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
connerdouglass committed Aug 12, 2023
1 parent f710048 commit d9577b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var response webauthn.RegistrationResponse

// Verify the registration response
user := webauthn.User{ /* same user as before */ }
result, err := wa.VerifyRegistration(ctx, challenge, response)
result, err := wa.VerifyRegistration(ctx, user, response)
```

## Authentication Example
Expand Down Expand Up @@ -103,7 +103,7 @@ var response webauthn.AuthenticationResponse

// Verify the authentication response
user := webauthn.User{ /* same user as before */ }
result, err := wa.AuthenticationRegistration(ctx, challenge, response)
result, err := wa.AuthenticationRegistration(ctx, user, response)
```

## Client-side processing
Expand Down

0 comments on commit d9577b4

Please sign in to comment.