From d495f061f439986a3dff5cf7c81ee1cbe4ecdec9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 18 Nov 2020 12:16:30 +0100 Subject: [PATCH] Add information box to multifactorAuthentication.tpl --- .../templates/multifactorAuthentication.tpl | 20 ++++++++++++++++++- wcfsetup/install/lang/de.xml | 3 +++ wcfsetup/install/lang/en.xml | 3 +++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/multifactorAuthentication.tpl b/com.woltlab.wcf/templates/multifactorAuthentication.tpl index 5beef7e7c1..35c057353c 100644 --- a/com.woltlab.wcf/templates/multifactorAuthentication.tpl +++ b/com.woltlab.wcf/templates/multifactorAuthentication.tpl @@ -21,7 +21,25 @@ {include file='header' __disableAds=true __disableLoginLink=true __sidebarLeftHasMenu=true} -{$user->username} +
+ {@$userProfile->getAvatar()->getImageTag(48)} + +
+
+

+ {lang}wcf.user.security.multifactor.authentication.user.headline{/lang} +

+
+
+ {lang}wcf.user.security.multifactor.authentication.user.content{/lang} +
+ +
+ + {csrfToken} +
+
+
{@$form->getHtml()} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 34b2e0f280..4f27322e67 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -4892,6 +4892,9 @@ Die E-Mail-Adresse des neuen Benutzers lautet: {@$user->email} + username}!]]> + + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index a3013bb108..3ff599b178 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -4889,6 +4889,9 @@ Open the link below to access the user profile: + username}!]]> + + -- 2.20.1