From c0a751ff132432f15e7ef4d17b9d724b43a2d01f Mon Sep 17 00:00:00 2001 From: devStorm <59678453+developStorm@users.noreply.github.com> Date: Mon, 18 May 2020 13:45:02 -0700 Subject: [PATCH] Put button inside the form --- app/auth/templates/auth/fido.html | 9 +++++---- app/dashboard/templates/dashboard/fido_setup.html | 15 ++++----------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/app/auth/templates/auth/fido.html b/app/auth/templates/auth/fido.html index 35f8b257..b2d2ea75 100644 --- a/app/auth/templates/auth/fido.html +++ b/app/auth/templates/auth/fido.html @@ -22,10 +22,12 @@
{{ fido_token_form.csrf_token }} {{ fido_token_form.sk_assertion(class="form-control", placeholder="") }} + +
+ +
-
- -
+ {% if enable_otp %}
@@ -68,7 +70,6 @@ $('#formRegisterKey').submit(); } - $("#btnVerifyKey").click(verifyKey); {% if auto_activate %} diff --git a/app/dashboard/templates/dashboard/fido_setup.html b/app/dashboard/templates/dashboard/fido_setup.html index 198591f8..3a4c16aa 100644 --- a/app/dashboard/templates/dashboard/fido_setup.html +++ b/app/dashboard/templates/dashboard/fido_setup.html @@ -22,10 +22,11 @@ {{ fido_token_form.key_name(class="form-control", placeholder="Name of your key (Required)") }} {{ render_field_errors(fido_token_form.key_name) }} + +
+ +
-
- -