-
t('Two-Factor Authentication'));?>
-
-
t('Use a second factor besides your password to increase security for your account.'));?>
-
-
- -
- getLightIcon();
- }
- else {
- $icon = $provider->getDarkIcon();
- }
- //fallback icon if the 2factor provider doesn't provide an icon.
- } else {
- if ($_['themedark']) {
- $icon = image_path('core', 'actions/password-white.svg');
- }
- else {
- $icon = image_path('core', 'actions/password.svg');
- }
-
- }
- /** @var \OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings $settings */
- $settings = $data['settings'];
- ?>
-
-
- getDisplayName()) ?>
-
- getBody()->fetchPage()) ?>
-
-
-
-
-
diff --git a/apps/settings/templates/settings/personal/security/twofactor.php b/apps/settings/templates/settings/personal/security/twofactor.php
new file mode 100644
index 0000000000..f5e5b7025c
--- /dev/null
+++ b/apps/settings/templates/settings/personal/security/twofactor.php
@@ -0,0 +1,70 @@
+
+ *
+ * @author Roeland Jago Douma