From 2042b3a26c04c0abf9b5862a4f925164f4f8d947 Mon Sep 17 00:00:00 2001
From: Ike <137194738+ike-kottlowski@users.noreply.github.com>
Date: Thu, 27 Jun 2024 12:38:10 -0700
Subject: [PATCH] [PM-8938] two factor settings authenticator validation
(#9857)
* add validation
* minor adjustments
* better useability on submit button
* removed img
* fixed formatting
---
.../two-factor-authenticator.component.html | 21 +++++++++++--------
.../two-factor-authenticator.component.ts | 14 ++++++++++---
.../settings/two-factor-base.component.ts | 1 +
3 files changed, 24 insertions(+), 12 deletions(-)
diff --git a/apps/web/src/app/auth/settings/two-factor-authenticator.component.html b/apps/web/src/app/auth/settings/two-factor-authenticator.component.html
index e796fd39a8e..f7ea36e02d4 100644
--- a/apps/web/src/app/auth/settings/two-factor-authenticator.component.html
+++ b/apps/web/src/app/auth/settings/two-factor-authenticator.component.html
@@ -10,7 +10,6 @@
{{ "twoStepLoginProviderEnabled" | i18n }}
{{ "twoStepAuthenticatorReaddDesc" | i18n }}
-
{{ "twoStepAuthenticatorNeedApp" | i18n }}
@@ -72,19 +71,23 @@
{{ "twoStepAuthenticatorScanCodeV2" | i18n }}
-
+
{{ key }}
-
-
- {{ "twoStepAuthenticatorEnterCodeV2" | i18n }}
-
-
-
+
+ {{ "twoStepAuthenticatorEnterCodeV2" | i18n }}
+
+
-