diff --git a/modules/material/locales/en/LC_MESSAGES/material.po b/modules/material/locales/en/LC_MESSAGES/material.po
index f4cad2b..e1e3741 100644
--- a/modules/material/locales/en/LC_MESSAGES/material.po
+++ b/modules/material/locales/en/LC_MESSAGES/material.po
@@ -138,7 +138,7 @@ msgid "{mfa:webauthn_instructions}"
msgstr "Follow the prompts to use your key."
msgid "{mfa:webauthn_start}"
-msgstr "Click OK when you're ready to start."
+msgstr "Click Verify when you're ready to start."
msgid "{mfa:webauthn_error_unknown}"
msgstr "Something went wrong with that request, unable to verify at this time."
diff --git a/modules/material/locales/es/LC_MESSAGES/material.po b/modules/material/locales/es/LC_MESSAGES/material.po
index dc8041c..8ab3621 100644
--- a/modules/material/locales/es/LC_MESSAGES/material.po
+++ b/modules/material/locales/es/LC_MESSAGES/material.po
@@ -138,7 +138,7 @@ msgid "{mfa:webauthn_instructions}"
msgstr "Siga las instrucciones para usar su clave."
msgid "{mfa:webauthn_start}"
-msgstr "Haga clic en OK cuando esté listo para comenzar."
+msgstr "Haga clic en Verificar cuando esté listo para comenzar."
msgid "{mfa:webauthn_error_unknown}"
msgstr "Algo salió mal con esa solicitud, no se pudo verificar en este momento."
diff --git a/modules/material/locales/fr/LC_MESSAGES/material.po b/modules/material/locales/fr/LC_MESSAGES/material.po
index 3c2a5bb..7c0318b 100644
--- a/modules/material/locales/fr/LC_MESSAGES/material.po
+++ b/modules/material/locales/fr/LC_MESSAGES/material.po
@@ -138,7 +138,7 @@ msgid "{mfa:webauthn_instructions}"
msgstr "Suivez les instructions pour utiliser votre clé."
msgid "{mfa:webauthn_start}"
-msgstr "Cliquez sur OK lorsque vous êtes prêt à commencer."
+msgstr "Cliquez sur Vérifier lorsque vous êtes prêt à commencer."
msgid "{mfa:webauthn_error_unknown}"
msgstr "Quelque chose s'est mal passé avec cette demande, impossible de vérifier pour le moment."
diff --git a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig
index 1ee4450..a9717b8 100644
--- a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig
+++ b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig
@@ -22,8 +22,6 @@
const errorNode = document.querySelector('p.error');
errorNode.classList.remove('hide');
errorNode.querySelector('span').textContent = errorMessage;
-
- offerRetry();
}
function createMessage(error) {
@@ -37,15 +35,6 @@
}
}
- function offerRetry() {
- const verifyBtn = document.getElementById('verifyBtn');
-
- verifyBtn.classList.add('mdl-color-text--red');
- verifyBtn.classList.remove('mdl-color-text--primary');
- verifyBtn.textContent = '{{ '{mfa:button_try_again}'|trans|e('js') }}';
-
- }
-
function submitForm(webAuthnResponse) {
const form = document.querySelector('form');
const submissionInput = createHiddenInput('submitMfa');
@@ -126,14 +115,10 @@
{{ include('other_mfas.twig') }}
-
+
-