summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-01-21 18:41:06 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-01-21 18:41:06 +0100
commit1f47c6976a203c97f0b60a438da7db98bef0096c (patch)
tree52f0e52d27c137717b2bd5c28dc1dbfc894a2fa1 /settings/templates
parentcb487efa24d55d01f7a093064955a71fb1ec2085 (diff)
downloadnextcloud-server-1f47c6976a203c97f0b60a438da7db98bef0096c.tar.gz
nextcloud-server-1f47c6976a203c97f0b60a438da7db98bef0096c.zip
Add documentation link and settings-hint to 2FA settings
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/settings/personal/security.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/templates/settings/personal/security.php b/settings/templates/settings/personal/security.php
index e6087175c79..ab69f36a00f 100644
--- a/settings/templates/settings/personal/security.php
+++ b/settings/templates/settings/personal/security.php
@@ -65,6 +65,10 @@ if($_['passwordChangeSupported']) {
<div id="two-factor-auth" class="section">
<h2><?php p($l->t('Two-Factor Authentication'));?></h2>
+ <a target="_blank" rel="noreferrer noopener" class="icon-info"
+ title="<?php p($l->t('Open documentation'));?>"
+ href="<?php p(link_to_docs('user-2fa')); ?>"></a>
+ <p class="settings-hint"><?php p($l->t('Use a second factor besides your password to increase security for your account.'));?></p>
<ul>
<?php foreach ($_['twoFactorProviderData']['providers'] as $data) { ?>
<li>