summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2016-11-23 21:30:15 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-02-15 17:45:20 -0600
commita37f29964f86be5ec51fe33d32e290d3701828b2 (patch)
tree2f11e4aa27c04a0f7f767d105bb081d90dce8276 /settings/templates
parent3c7755fc662b0fcedad261e2e12755faedb1c567 (diff)
downloadnextcloud-server-a37f29964f86be5ec51fe33d32e290d3701828b2.tar.gz
nextcloud-server-a37f29964f86be5ec51fe33d32e290d3701828b2.zip
add setting for "send password link"
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/users/main.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings/templates/users/main.php b/settings/templates/users/main.php
index b363a4c4da8..59575a84e7e 100644
--- a/settings/templates/users/main.php
+++ b/settings/templates/users/main.php
@@ -72,6 +72,13 @@ translation('settings');
<?php p($l->t('Send email to new user')) ?>
</label>
</p>
+ <p style="padding-left: 20px" id="MailPasswordOnUserCreateSetting">
+ <input type="checkbox" name="MailPasswordOnUserCreate" value="MailPasswordOnUserCreate" id="CheckboxMailPasswordOnUserCreate"
+ class="checkbox" <?php if ($_['send_passwordlink'] === 'true') print_unescaped('checked="checked"'); ?> />
+ <label for="CheckboxMailPasswordOnUserCreate">
+ <?php p($l->t('Send password link')) ?>
+ </label>
+ </p>
<p>
<input type="checkbox" name="EmailAddress" value="EmailAddress" id="CheckboxEmailAddress"
class="checkbox" <?php if ($_['show_email'] === 'true') print_unescaped('checked="checked"'); ?> />