diff --git a/features/fakes/FakeIdBrokerClient.php b/features/fakes/FakeIdBrokerClient.php index 5245e2fb..4f97a3d0 100644 --- a/features/fakes/FakeIdBrokerClient.php +++ b/features/fakes/FakeIdBrokerClient.php @@ -143,7 +143,7 @@ public function mfaList(string $employee_id): array [ 'id' => 2, 'type' => 'totp', - 'label' => 'Smartphone App', + 'label' => 'Authenticator App', 'created_utc' => '2019-04-02T16:02:14Z', 'last_used_utc' => '2019-04-01T00:00:00Z', 'data' => [ diff --git a/modules/material/locales/fr/LC_MESSAGES/material.po b/modules/material/locales/fr/LC_MESSAGES/material.po index 4272d54d..3c2a5bb3 100644 --- a/modules/material/locales/fr/LC_MESSAGES/material.po +++ b/modules/material/locales/fr/LC_MESSAGES/material.po @@ -120,7 +120,7 @@ msgid "{mfa:totp_header}" msgstr "Obtenez un code depuis votre application d'authentification" msgid "{mfa:totp_icon}" -msgstr "Icône de l'application Smartphone" +msgstr "Icône de l'application d'authentification" msgid "{mfa:totp_input}" msgstr "Entrer le code à 6 chiffres" diff --git a/modules/material/themes/material/default/other_mfas.twig b/modules/material/themes/material/default/other_mfas.twig index 7a13cb4d..d9712471 100644 --- a/modules/material/themes/material/default/other_mfas.twig +++ b/modules/material/themes/material/default/other_mfas.twig @@ -11,7 +11,7 @@ {% if other_options|length > 0 %}
{# used type=button to avoid form submission on click since this is just used to display the ul #} -
- - {{ include('other_mfas.twig') }}
diff --git a/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig b/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig index 366950c4..14c5bdf4 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig @@ -66,13 +66,14 @@ {% endif %}
+ {{ include('other_mfas.twig') }} + +
- - {{ include('other_mfas.twig') }}
diff --git a/modules/material/themes/material/mfa/prompt-for-mfa-totp.twig b/modules/material/themes/material/mfa/prompt-for-mfa-totp.twig index 47815d0c..8b6dbacb 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-totp.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-totp.twig @@ -64,13 +64,14 @@ {% endif %}
+ {{ include('other_mfas.twig') }} + +
- - {{ include('other_mfas.twig') }}
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 546991b3..1ee4450b 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig @@ -123,19 +123,20 @@
+ {{ include('other_mfas.twig') }} + + -
- {{ include('other_mfas.twig') }}