From ba1ed1252c52ce1d42018d9f40a99f77d49f45af Mon Sep 17 00:00:00 2001 From: James Elliott Date: Sun, 12 Feb 2023 22:11:00 +1100 Subject: [PATCH] fix: tests --- internal/server/locales/ar-SA/portal.json | 2 +- internal/server/locales/en/portal.json | 2 +- .../views/LoginPortal/SecondFactor/MethodSelectionDialog.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/server/locales/ar-SA/portal.json b/internal/server/locales/ar-SA/portal.json index eee796828..5d8c69479 100644 --- a/internal/server/locales/ar-SA/portal.json +++ b/internal/server/locales/ar-SA/portal.json @@ -50,7 +50,7 @@ "Reset": "Reset", "Scan QR Code": "Scan QR Code", "Secret": "سرية", - "Security Key - WebAuthN": "مفتاح الأمان - WebAuthN", + "Security Key - WebAuthn": "مفتاح الأمان - WebAuthn", "Select a Device": "حدد جهاز", "Sign in": "تسجيل الدخول", "Sign out": "تسجيل الخروج", diff --git a/internal/server/locales/en/portal.json b/internal/server/locales/en/portal.json index 434975419..0b78e4c06 100644 --- a/internal/server/locales/en/portal.json +++ b/internal/server/locales/en/portal.json @@ -53,6 +53,7 @@ "Scan QR Code": "Scan QR Code", "Scope": "Scope {{name}}", "Secret": "Secret", + "Security Key - WebAuthN": "Security Key - WebAuthN", "Select a Device": "Select a Device", "Sign in": "Sign in", "Sign out": "Sign out", @@ -68,7 +69,6 @@ "Time-based One-Time Password": "Time-based One-Time Password", "Use OpenID to verify your identity": "Use OpenID to verify your identity", "Username": "Username", - "Webauthn - Security Key": "Webauthn - Security Key", "You must open the link from the same device and browser that initiated the registration process": "You must open the link from the same device and browser that initiated the registration process", "You must view and accept the Privacy Policy before using": "You must view and accept the <0>Privacy Policy before using", "You're being signed out and redirected": "You're being signed out and redirected", diff --git a/web/src/views/LoginPortal/SecondFactor/MethodSelectionDialog.tsx b/web/src/views/LoginPortal/SecondFactor/MethodSelectionDialog.tsx index ca3be7bd0..27aee7000 100644 --- a/web/src/views/LoginPortal/SecondFactor/MethodSelectionDialog.tsx +++ b/web/src/views/LoginPortal/SecondFactor/MethodSelectionDialog.tsx @@ -42,7 +42,7 @@ const MethodSelectionDialog = function (props: Props) { {props.methods.has(SecondFactorMethod.Webauthn) && props.webauthnSupported ? ( } onClick={() => props.onClick(SecondFactorMethod.Webauthn)} /> @@ -59,7 +59,7 @@ const MethodSelectionDialog = function (props: Props) {