fix: tests

feat-otp-verification
James Elliott 2023-02-12 22:11:00 +11:00
parent 515309c10e
commit ba1ed1252c
No known key found for this signature in database
GPG Key ID: 0F1C4A096E857E49
3 changed files with 4 additions and 4 deletions

View File

@ -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": "تسجيل الخروج",

View File

@ -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</0> before using",
"You're being signed out and redirected": "You're being signed out and redirected",

View File

@ -42,7 +42,7 @@ const MethodSelectionDialog = function (props: Props) {
{props.methods.has(SecondFactorMethod.Webauthn) && props.webauthnSupported ? (
<MethodItem
id="webauthn-option"
method={translate("Webauthn - Security Key")}
method={translate("Security Key - WebAuthN")}
icon={<FingerTouchIcon size={32} />}
onClick={() => props.onClick(SecondFactorMethod.Webauthn)}
/>
@ -59,7 +59,7 @@ const MethodSelectionDialog = function (props: Props) {
</DialogContent>
<DialogActions>
<Button color="primary" onClick={props.onClose}>
{translate("Close")}s
{translate("Close")}
</Button>
</DialogActions>
</Dialog>