Skip to content

Conversation

@nsatragno
Copy link
Contributor

Allow configuring the user verification requirement. This is implemented
as a boolean that is translated into either UserVerificationRequirement
"required" or "discouraged". Do not default to "preferred" since its
behaviour is confusing at best.

Fixes #21

Copy link
Contributor

@EternalDeiwos EternalDeiwos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks mostly good to me, though I'd like test it/play with it a little more before I merge this

Allow configuring the user verification requirement. This is implemented
as a boolean that is translated into either UserVerificationRequirement
"required" or "discouraged". Do not default to "preferred" since its
behaviour is confusing at best.

Fixes strangerlabs#21
@codecov
Copy link

codecov bot commented Jan 27, 2020

Codecov Report

Merging #25 into master will decrease coverage by 0.12%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   12.66%   12.53%   -0.13%     
==========================================
  Files           5        5              
  Lines         387      391       +4     
==========================================
  Hits           49       49              
- Misses        338      342       +4
Impacted Files Coverage Δ
src/Webauthn.js 13.02% <0%> (-0.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8d63d2...99626c6. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default to uv = 'discouraged`

2 participants