From b63f9cb84ee7c1838f23ab50129cac0a0f190962 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 15 Jun 2023 19:32:27 -0700 Subject: [PATCH] feat: :sparkles: 2FA input dialog --- packages/client/package.json | 1 + packages/client/src/components/MkSignin.vue | 41 ++++++++++++++----- .../src/pages/settings/2fa.qrdialog.vue | 2 + packages/client/src/pages/settings/2fa.vue | 27 +++++++++--- pnpm-lock.yaml | 12 ++++++ 5 files changed, 68 insertions(+), 15 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 2a1dadeb4..9816f6963 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -87,6 +87,7 @@ "vue-isyourpasswordsafe": "^2.0.0", "vue-plyr": "^7.0.0", "vue-prism-editor": "2.0.0-alpha.2", + "vue3-otp-input": "^0.4.1", "vuedraggable": "4.1.0" } } diff --git a/packages/client/src/components/MkSignin.vue b/packages/client/src/components/MkSignin.vue index 634d5932e..13da5d7ab 100644 --- a/packages/client/src/components/MkSignin.vue +++ b/packages/client/src/components/MkSignin.vue @@ -99,18 +99,15 @@ > - - - + />