diff --git a/app/auth/views/fido.py b/app/auth/views/fido.py index a752e962..741573af 100644 --- a/app/auth/views/fido.py +++ b/app/auth/views/fido.py @@ -40,7 +40,6 @@ def fido(): next_url = request.args.get("next") - # Handling POST requests if fido_token_form.validate_on_submit(): try: @@ -110,7 +109,7 @@ def fido(): RP_ID, ) ) - + webauthn_assertion_options = webauthn.WebAuthnAssertionOptions( webauthn_users, challenge ) diff --git a/app/dashboard/templates/dashboard/fido_setup.html b/app/dashboard/templates/dashboard/fido_setup.html index 8770fd18..88318034 100644 --- a/app/dashboard/templates/dashboard/fido_setup.html +++ b/app/dashboard/templates/dashboard/fido_setup.html @@ -33,7 +33,6 @@ JSON.parse('{{credential_create_options|tojson|safe}}') ) - console.log(pkCredentialCreateOptions) let credential try {