Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit f4a5dff

Browse files
author
Baggerone
authored
Merge pull request #132 from silinternational/develop
Release 8.1.1 Tweak idp name reminder on TOTP form
2 parents 431292c + 0cb61d2 commit f4a5dff

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

dictionaries/mfa.definition.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"ko": "코드 입력"
3838
},
3939
"totp_header": {
40-
"en": "Smartphone app",
41-
"es": "Aplicación de teléfono inteligente",
42-
"fr": "Application pour smartphone",
43-
"ko": "스마트폰 "
40+
"en": "Get a code from your smartphone app",
41+
"es": "Obtenga un código de la aplicación de su teléfono inteligente",
42+
"fr": "Obtenez un code depuis l'application sur votre smartphone",
43+
"ko": "스마트폰 앱에서 코드 받기"
4444
},
4545
"totp_icon": {
4646
"en": "Smartphone app icon",

themes/material/mfa/prompt-for-mfa-totp.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,9 @@ class="icon">
3030

3131
<div class="mdl-card__title center">
3232
<?php
33-
$idpName = htmlentities($this->configuration->getValue('idp_display_name', $this->configuration->getValue('idp_name', '')));
33+
$idpName = htmlentities($this->configuration->getValue('idp_display_name', $this->configuration->getValue('idp_name', '')));
34+
echo $this->t('{material:mfa:account}', ['{idpName}' => $idpName]);
3435
?>
35-
(<?= $this->t('{material:mfa:account}', ['{idpName}' => $idpName]) ?>)
36-
</div>
37-
38-
<div class="mdl-card__title center" >
39-
<p class="mdl-card__subtitle-text">
40-
<?= $this->t('{material:mfa:totp_instructions}') ?>
41-
</p>
4236
</div>
4337

4438
<div class="mdl-card__supporting-text" layout-children="column">

0 commit comments

Comments
 (0)