Merge pull request #170 from developStorm/webauthn-patch
🐛 WebAuthn bug fixes
This commit is contained in:
commit
5fa2a86f23
|
@ -42,7 +42,7 @@ def fido():
|
|||
webauthn_user = webauthn.WebAuthnUser(
|
||||
user.fido_uuid,
|
||||
user.email,
|
||||
user.name,
|
||||
user.name if user.name else user.email,
|
||||
False,
|
||||
user.fido_credential_id,
|
||||
user.fido_pk,
|
||||
|
|
|
@ -81,9 +81,10 @@ def fido_setup():
|
|||
RP_ID,
|
||||
fido_uuid,
|
||||
current_user.email,
|
||||
current_user.name,
|
||||
current_user.name if current_user.name else current_user.email,
|
||||
False,
|
||||
attestation="none",
|
||||
user_verification="discouraged",
|
||||
)
|
||||
|
||||
# Don't think this one should be used, but it's not configurable by arguments
|
||||
|
|
Loading…
Reference in a new issue