fix twig templates
This commit is contained in:
@ -33,12 +33,12 @@ use Psr\Log\LoggerInterface;
|
||||
|
||||
class d3totpadminlogin extends AdminController
|
||||
{
|
||||
protected $_sThisTemplate = '@'.Constants::OXID_MODULE_ID.'/wave/d3totpadminlogin';
|
||||
protected $_sThisTemplate = '@'.Constants::OXID_MODULE_ID.'/admin/d3totplogin';
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
protected function _authorize(): bool
|
||||
protected function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ use OxidEsales\Eshop\Core\Utils;
|
||||
|
||||
class d3totplogin extends FrontendController
|
||||
{
|
||||
protected $_sThisTemplate = '@'.Constants::OXID_MODULE_ID.'/admin/d3totplogin';
|
||||
protected $_sThisTemplate = '@'.Constants::OXID_MODULE_ID.'/apex/d3totplogin';
|
||||
|
||||
public function render()
|
||||
{
|
||||
|
@ -25,8 +25,6 @@ return [
|
||||
'D3_TOTP_ACCOUNT' => '2-Faktor-Authentisierung',
|
||||
'D3_TOTP_ACCOUNT_DESC' => 'Sichern Sie Ihre Kontoanmeldung mit einem zweiten Faktor.',
|
||||
|
||||
'D3_TOTP_ACCOUNT_USE' => '2-Faktor-Authentisierung verwenden',
|
||||
|
||||
'D3_TOTP_REGISTERNEW' => 'neue Registrierung erstellen',
|
||||
'D3_TOTP_QRCODE' => 'QR-Code',
|
||||
'D3_TOTP_QRCODE_HELP' => 'Scannen Sie diesen QR-Code mit Ihrer Authentisierungs-App, um dieses Benutzerkonto dort zu hinterlegen.',
|
||||
@ -35,6 +33,9 @@ return [
|
||||
'D3_TOTP_CURROTP' => 'Bestätigung mit Einmalpasswort',
|
||||
'D3_TOTP_CURROTP_HELP' => 'Haben Sie dieses Kundenkonto in Ihrer Authentisierungs-App registriert, generieren Sie damit ein Einmalpasswort, tragen Sie es hier ein und senden das Formular direkt darauf hin ab.',
|
||||
|
||||
'D3_TOTP_STATUS' => 'Status',
|
||||
'D3_TOTP_ACCOUNT_USE' => '2-Faktor-Authentisierung verwenden',
|
||||
|
||||
'D3_TOTP_REGISTEREXIST' => 'vorhandene Registrierung',
|
||||
'D3_TOTP_REGISTERDELETE_DESC' => 'Um die Registrierung zu ändern, löschen Sie diese bitte vorerst. Sie können sofort im Anschluss eine neue Registrierung anlegen.<br>Wenn Sie die Registrierung löschen, ist das Konto nicht mehr durch die Zwei-Faktor-Authentisierung geschützt.',
|
||||
'D3_TOTP_REGISTERDELETE_CONFIRM' => 'Soll die bestehende 2-Faktor-Authentisierung gelöscht werden?',
|
||||
@ -44,6 +45,13 @@ return [
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT' => 'noch %1$s Backupcode(s) verfügbar',
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT_DESC' => 'Um neue Backupcodes zu erstellen, löschen Sie die bestehende Registrierung und legen diese bitte neu an.',
|
||||
|
||||
'D3_TOTP_INPUT_FIRST' => 'erste TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_SECOND' => 'zweite TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_THIRD' => 'dritte TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_FOURTH' => 'vierte TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_FIFTH' => 'fünfte TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_SIXTH' => 'sechste TOTP-Ziffer',
|
||||
|
||||
'D3_TOTP_ACCOUNT_SAVE' => 'Einstellungen übernehmen',
|
||||
|
||||
];
|
||||
|
@ -25,8 +25,6 @@ return [
|
||||
'D3_TOTP_ACCOUNT' => '2-factor authentication',
|
||||
'D3_TOTP_ACCOUNT_DESC' => 'Secure your account login with a second factor.',
|
||||
|
||||
'D3_TOTP_ACCOUNT_USE' => 'Use 2-factor authentication',
|
||||
|
||||
'D3_TOTP_REGISTERNEW' => 'create a new registration',
|
||||
'D3_TOTP_QRCODE' => 'QR code',
|
||||
'D3_TOTP_QRCODE_HELP' => 'Scan this QR code with your authentication app to store this user account there.',
|
||||
@ -35,15 +33,25 @@ return [
|
||||
'D3_TOTP_CURROTP' => 'Confirmation with one-time password',
|
||||
'D3_TOTP_CURROTP_HELP' => 'If you have registered this customer account in your authentication app, use it to generate a one-time password, enter it here and send the form directly afterwards.',
|
||||
|
||||
'D3_TOTP_REGISTEREXIST' => 'existing registration',
|
||||
'D3_TOTP_STATUS' => 'Status',
|
||||
'D3_TOTP_ACCOUNT_USE' => 'use 2-factor authentication',
|
||||
|
||||
'D3_TOTP_REGISTEREXIST' => 'Existing registration',
|
||||
'D3_TOTP_REGISTERDELETE_DESC' => 'To change the registration, please delete it first. You can then create a new registration immediately. <br>If you delete the registration, the account is no longer protected by two-factor authentication.',
|
||||
'D3_TOTP_REGISTERDELETE_CONFIRM' => 'Should the existing 2-factor authentication be deleted?',
|
||||
|
||||
'D3_TOTP_BACKUPCODES' => 'backup codes',
|
||||
'D3_TOTP_BACKUPCODES' => 'Backup codes',
|
||||
'D3_TOTP_BACKUPCODES_DESC' => 'You can use these backup codes to log on if it is not possible to generate the one-time password (e.g. device lost or newly installed). You can then change the settings to use 2-factor authentication or create a new account. Please save these codes securely at this moment. After leaving this page, these codes cannot be displayed again.',
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT' => 'still %1$s backup code(s) available',
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT_DESC' => 'To create new backup codes, delete the existing registry and create a new one.',
|
||||
|
||||
'D3_TOTP_INPUT_FIRST' => 'first TOTP digit',
|
||||
'D3_TOTP_INPUT_SECOND' => 'second TOTP digit',
|
||||
'D3_TOTP_INPUT_THIRD' => 'third TOTP digit',
|
||||
'D3_TOTP_INPUT_FOURTH' => 'fourth TOTP digit',
|
||||
'D3_TOTP_INPUT_FIFTH' => 'fifth TOTP digit',
|
||||
'D3_TOTP_INPUT_SIXTH' => 'sixth TOTP digit',
|
||||
|
||||
'D3_TOTP_ACCOUNT_SAVE' => 'Confirm settings',
|
||||
|
||||
];
|
||||
|
@ -47,6 +47,13 @@ return [
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT' => 'noch %1$s Backupcode(s) verfügbar',
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT_DESC' => 'Um neue Backupcodes zu erstellen, löschen Sie die bestehende Registrierung und legen diese bitte neu an.',
|
||||
|
||||
'D3_TOTP_INPUT_FIRST' => 'erste TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_SECOND' => 'zweite TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_THIRD' => 'dritte TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_FOURTH' => 'vierte TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_FIFTH' => 'fünfte TOTP-Ziffer',
|
||||
'D3_TOTP_INPUT_SIXTH' => 'sechste TOTP-Ziffer',
|
||||
|
||||
'D3_TOTP_SAVE' => 'Speichern',
|
||||
|
||||
'D3_TOTP_ERROR_UNVALID' => 'Das Einmalpasswort ist ungültig.',
|
||||
|
@ -47,6 +47,13 @@ return [
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT' => '%1$s backup code(s) still available',
|
||||
'D3_TOTP_AVAILBACKUPCODECOUNT_DESC' => 'To create new backup codes, delete the existing registry and create a new one.',
|
||||
|
||||
'D3_TOTP_INPUT_FIRST' => 'first TOTP digit',
|
||||
'D3_TOTP_INPUT_SECOND' => 'second TOTP digit',
|
||||
'D3_TOTP_INPUT_THIRD' => 'third TOTP digit',
|
||||
'D3_TOTP_INPUT_FOURTH' => 'fourth TOTP digit',
|
||||
'D3_TOTP_INPUT_FIFTH' => 'fifth TOTP digit',
|
||||
'D3_TOTP_INPUT_SIXTH' => 'sixth TOTP digit',
|
||||
|
||||
'D3_TOTP_SAVE' => 'Save',
|
||||
|
||||
'D3_TOTP_ERROR_UNVALID' => 'The one-time password is invalid.',
|
||||
|
Reference in New Issue
Block a user