diff --git a/data/web/templates/base.twig b/data/web/templates/base.twig index 3293a7ca..02b1a9f4 100644 --- a/data/web/templates/base.twig +++ b/data/web/templates/base.twig @@ -190,10 +190,10 @@ function recursiveBase64StrToArrayBuffer(obj) { // Confirm TFA modal {% if pending_tfa_method %} - $('#ConfirmTFAModal').modal({ + new bootstrap.Modal(document.getElementById("ConfirmTFAModal"), { backdrop: 'static', keyboard: false - }); + }).show(); // validate WebAuthn tfa $('#start_webauthn_confirmation').click(function(){ diff --git a/data/web/templates/tfa_keys.twig b/data/web/templates/tfa_keys.twig index 4e341375..e73c8916 100644 --- a/data/web/templates/tfa_keys.twig +++ b/data/web/templates/tfa_keys.twig @@ -4,9 +4,9 @@

- + {{ key_info.key_id }} - [{{ lang.admin.remove }}] + [{{ lang.admin.remove }}]