From 437d02ef5d5e82489cb30138e3bbc5eddf6e780d Mon Sep 17 00:00:00 2001 From: TrojanerHD Date: Sat, 24 Feb 2024 02:21:17 +0100 Subject: [PATCH] fix(frontend): allow disabling of 2fa when security key is registered --- packages/client/src/pages/settings/2fa.vue | 25 +--------------------- 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/packages/client/src/pages/settings/2fa.vue b/packages/client/src/pages/settings/2fa.vue index 6a2a5b40c..361690b6e 100644 --- a/packages/client/src/pages/settings/2fa.vue +++ b/packages/client/src/pages/settings/2fa.vue @@ -14,17 +14,7 @@
- - { - if (canceled) return; - registerTOTP(); - }); -} - async function unregisterKey(key) { const confirm = await os.confirm({ type: "question",