From 9b509cd329ec90e07daea02c5f86b1b267a5d71c Mon Sep 17 00:00:00 2001 From: Ike <137194738+ike-kottlowski@users.noreply.github.com> Date: Mon, 8 Jul 2024 14:48:19 -0700 Subject: [PATCH] [PM-8943] Update QRious script initialization in Authenticator two-factor provider (#9926) * create onload() for qrious as well as error messaging if QR code cannot be displayed * button and message updates and formpromise removal * load QR script async * rename and reorder methods --- .../two-factor-authenticator.component.html | 11 ++- .../two-factor-authenticator.component.ts | 75 +++++++++++-------- apps/web/src/locales/en/messages.json | 3 + 3 files changed, 56 insertions(+), 33 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 f7ea36e02d..c9214d59ca 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 @@ -72,7 +72,14 @@
-
+ {{ "twoStepAuthenticatorQRCanvasError" | i18n }}
+
+
{{ key }}