Remove it for all creds
This commit is contained in:
parent
ff33380bed
commit
657cae53a6
|
@ -155,7 +155,8 @@ def fido():
|
||||||
webauthn_assertion_options = webauthn_assertion_options.assertion_dict
|
webauthn_assertion_options = webauthn_assertion_options.assertion_dict
|
||||||
try:
|
try:
|
||||||
# HACK: We need to upgrade to webauthn > 1 so it can support specifying the transports
|
# HACK: We need to upgrade to webauthn > 1 so it can support specifying the transports
|
||||||
del webauthn_assertion_options["allowCredentials"][0]["transports"]
|
for credential in webauthn_assertion_options["allowCredentials"]:
|
||||||
|
del credential["transports"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
# Should never happen but...
|
# Should never happen but...
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue