Skip to content

Commit 4bf29ca

Browse files
author
Kristan Kenney
committed
Merge branch 'fix-ui-2fareset'
2 parents 31788d1 + 6816403 commit 4bf29ca

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

web/inc/i18n/de.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,9 +850,9 @@
850850
// Set default language
851851
'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Als Standardsprache für alle Benutzer festlegen',
852852

853-
//2FA
853+
//2FA
854854
'Forgot token' => 'Token vergessen',
855-
'2FA Token' => '2FA Token',
855+
'2FA Token' => 'OTP PIN',
856856
'2FA Reset successfully' => '2FA Token wurde mit Erfolg zurückgesetzt. Sie können sich jetzt erneut anmelden',
857857
'Reset 2FA' => '2FA zurücksetzen',
858858
'2FA Reset Code' => 'Kontowiederherstellungscode',

web/inc/i18n/en.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -853,10 +853,10 @@
853853
'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Set as default language for all users',
854854

855855
//2FA
856-
'Forgot token' => 'Forgot token',
857-
'2FA Token' => '2FA Token',
858-
'2FA Reset successfully' => '2FA Token has been reset with success. You are now able to login again',
859-
'Reset 2FA' => 'Reset 2FA',
856+
'Forgot token' => 'Unlock Account',
857+
'2FA Token' => 'OTP PIN',
858+
'2FA Reset successfully' => 'Two-factor authentication is now turned off for your account.<br><br>You may now proceed to log in.',
859+
'Reset 2FA' => 'Unlock Account',
860860
'2FA Reset Code' => 'Account Recovery Code',
861861
'Invalid or missing token' => 'Invalid or missing token',
862862
);

web/inc/i18n/it.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,9 +851,9 @@
851851
// Set default language
852852
'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Imposta come lingua predefinita per tutti gli utenti',
853853

854-
//2FA
854+
//2FA
855855
'Forgot token' => 'Codice dimenticato',
856-
'2FA Token' => 'Codice 2fa',
856+
'2FA Token' => 'PIN OTP',
857857
'2FA Reset successfully' => 'Il codice 2FA è stato ripristinato correttamente. Ora puoi accedere di nuovo',
858858
'Reset 2FA' => 'Reimposta il codice 2FA',
859859
'2FA Reset Code' => 'Codice di recupero dell\'account',

web/templates/reset2fa.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
<?php print __('2FA Reset successfully'); ?>
1616
</td>
1717
</tr>
18+
<tr>
19+
<td style="padding: 20px 0 12px 0;">
20+
<input type="button" class="button cancel" value="<?php print __('Log in');?>" onclick="location.href='/login/'">
21+
</td>
22+
</tr>
1823
</table>
1924
<?php }else{ ?>
2025
<form method="post" action="/reset2fa/">

0 commit comments

Comments
 (0)