summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-17 10:16:56 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-09-23 15:06:28 +0200
commit6636605ea6d2fb44a8534f570b8555dc4aac3400 (patch)
tree75691badf0bbd2a77903dde0440dc5864282494e /settings/templates
parentd54d9a573fac498c4aaeea0df832a204cf525b58 (diff)
downloadnextcloud-server-6636605ea6d2fb44a8534f570b8555dc4aac3400.tar.gz
nextcloud-server-6636605ea6d2fb44a8534f570b8555dc4aac3400.zip
Add option to disable autocomplete in share dialog
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 36088d9f8c2..bfb0d5d364d 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -265,6 +265,11 @@ if ($_['cronErrors']) {
<br />
<em><?php p($l->t('These groups will still be able to receive shares, but not to initiate them.')); ?></em>
</p>
+ <p class="<?php if ($_['shareAPIEnabled'] === 'no') p('hidden');?>">
+ <input type="checkbox" name="shareapi_allow_share_dialog_user_enumeration" value="1" id="shareapi_allow_share_dialog_user_enumeration"
+ <?php if ($_['allowShareDialogUserEnumeration'] === 'yes') print_unescaped('checked="checked"'); ?> />
+ <label for="shareapi_allow_share_dialog_user_enumeration"><?php p($l->t('Allow username autocompletion in share dialog. If this is disabled the full username needs to be entered.'));?></label><br />
+ </p>
<?php print_unescaped($_['fileSharingSettings']); ?>
</div>