summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 14:03:22 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-10 14:34:52 +0200
commit67c3730fbb8e12c6adda0af37d5a7ac8960415dc (patch)
tree4625e834d8812cff6c7f4a4bdae16ea9f8cda564 /settings/templates
parent1dbd7172c31b2d611e49c7c8a60a05da134a4733 (diff)
downloadnextcloud-server-67c3730fbb8e12c6adda0af37d5a7ac8960415dc.tar.gz
nextcloud-server-67c3730fbb8e12c6adda0af37d5a7ac8960415dc.zip
Add admin interface to enforce 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/settings/admin/security.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings/templates/settings/admin/security.php b/settings/templates/settings/admin/security.php
index d042f531da5..8d14ee7015a 100644
--- a/settings/templates/settings/admin/security.php
+++ b/settings/templates/settings/admin/security.php
@@ -24,8 +24,15 @@
/** @var \OCP\IL10N $l */
/** @var array $_ */
+script('settings', 'settings-admin-security');
+
?>
+<div id="two-factor-auth" class="section">
+ <h2><?php p($l->t('Two-Factor Authentication'));?></h2>
+ <div id="two-factor-auth-settings"></div>
+</div>
+
<div class="section" id='encryptionAPI'>
<h2><?php p($l->t('Server-side encryption')); ?></h2>
<a target="_blank" rel="noreferrer noopener" class="icon-info"