diff --git a/src/app/accounts/two-factor.component.html b/src/app/accounts/two-factor.component.html index c4ebbb2327..8fff552ee3 100644 --- a/src/app/accounts/two-factor.component.html +++ b/src/app/accounts/two-factor.component.html @@ -35,14 +35,9 @@ -
- -
-

{{'insertU2f' | i18n}}

- -
+
+
-
@@ -91,4 +86,3 @@
- diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 768a562ffb..91e74722b6 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -592,11 +592,11 @@ "message": "Verify with Duo Security for your organization using the Duo Mobile app, SMS, phone call, or U2F security key.", "description": "'Duo Security' and 'Duo Mobile' are product names and should not be translated." }, - "u2fDesc": { - "message": "Use any FIDO U2F enabled security key to access your account." + "webAuthnTitle": { + "message": "FIDO2 WebAuthn" }, - "u2fTitle": { - "message": "FIDO U2F Security Key" + "webAuthnDesc": { + "message": "Use any WebAuthn enabled security key to access your account." }, "emailTitle": { "message": "Email" @@ -1650,5 +1650,8 @@ }, "pendingDeletion": { "message": "Pending deletion" + }, + "webAuthnAuthenticate": { + "message": "Authenticate WebAutn" } } diff --git a/src/scss/misc.scss b/src/scss/misc.scss index 2ae5737ea3..9325a65027 100644 --- a/src/scss/misc.scss +++ b/src/scss/misc.scss @@ -221,6 +221,18 @@ p.lead { } } +#web-authn-frame { + background: url('../images/loading.svg') 0 0 no-repeat; + height: 250px; + margin: 0 0 15px 0; + + iframe { + width: 100%; + height: 100%; + border: none; + } +} + form, .form { .form-group { margin-bottom: 10px;