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", "Reset": "Reset",
"Scan QR Code": "Scan QR Code", "Scan QR Code": "Scan QR Code",
"Secret": "سرية", "Secret": "سرية",
"Security Key - WebAuthN": "مفتاح الأمان - WebAuthN", "Security Key - WebAuthn": "مفتاح الأمان - WebAuthn",
"Select a Device": "حدد جهاز", "Select a Device": "حدد جهاز",
"Sign in": "تسجيل الدخول", "Sign in": "تسجيل الدخول",
"Sign out": "تسجيل الخروج", "Sign out": "تسجيل الخروج",

View File

@ -53,6 +53,7 @@
"Scan QR Code": "Scan QR Code", "Scan QR Code": "Scan QR Code",
"Scope": "Scope {{name}}", "Scope": "Scope {{name}}",
"Secret": "Secret", "Secret": "Secret",
"Security Key - WebAuthN": "Security Key - WebAuthN",
"Select a Device": "Select a Device", "Select a Device": "Select a Device",
"Sign in": "Sign in", "Sign in": "Sign in",
"Sign out": "Sign out", "Sign out": "Sign out",
@ -68,7 +69,6 @@
"Time-based One-Time Password": "Time-based One-Time Password", "Time-based One-Time Password": "Time-based One-Time Password",
"Use OpenID to verify your identity": "Use OpenID to verify your identity", "Use OpenID to verify your identity": "Use OpenID to verify your identity",
"Username": "Username", "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 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 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", "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 ? ( {props.methods.has(SecondFactorMethod.Webauthn) && props.webauthnSupported ? (
<MethodItem <MethodItem
id="webauthn-option" id="webauthn-option"
method={translate("Webauthn - Security Key")} method={translate("Security Key - WebAuthN")}
icon={<FingerTouchIcon size={32} />} icon={<FingerTouchIcon size={32} />}
onClick={() => props.onClick(SecondFactorMethod.Webauthn)} onClick={() => props.onClick(SecondFactorMethod.Webauthn)}
/> />
@ -59,7 +59,7 @@ const MethodSelectionDialog = function (props: Props) {
</DialogContent> </DialogContent>
<DialogActions> <DialogActions>
<Button color="primary" onClick={props.onClose}> <Button color="primary" onClick={props.onClose}>
{translate("Close")}s {translate("Close")}
</Button> </Button>
</DialogActions> </DialogActions>
</Dialog> </Dialog>