summaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-10 15:17:36 +0100
committerJoas Schilling <coding@schilljs.com>2021-03-10 17:19:56 +0100
commit177ae33ba1023dcc2a9c1bfce0e2b551ed7b746d (patch)
tree19b07a43f46c05b9fed46deee8ba216f4d2b81d7 /apps/settings/templates
parenta310a2adc7d82fc12ef13d654753e8a599e6d8a7 (diff)
downloadnextcloud-server-177ae33ba1023dcc2a9c1bfce0e2b551ed7b746d.tar.gz
nextcloud-server-177ae33ba1023dcc2a9c1bfce0e2b551ed7b746d.zip
Add a hint that the settings are OR based
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/admin/sharing.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/settings/templates/settings/admin/sharing.php b/apps/settings/templates/settings/admin/sharing.php
index b02a7d2764c..a72bf0bd590 100644
--- a/apps/settings/templates/settings/admin/sharing.php
+++ b/apps/settings/templates/settings/admin/sharing.php
@@ -185,6 +185,11 @@
} ?> />
<label for="shareapi_restrict_user_enumeration_to_phone"><?php p($l->t('Allow username autocompletion to users based on phonebook matches'));?></label><br />
</p>
+ <p id="shareapi_restrict_user_enumeration_combinewarning_setting" class="indent <?php if ($_['shareAPIEnabled'] === 'no' || $_['allowShareDialogUserEnumeration'] === 'no') {
+ p('hidden');
+}?>">
+ <em><?php p($l->t('If autocompletion "same group" and "phonebook matches" are enabled a match in either is enough to show the user.'));?></em><br />
+ </p>
<p>
<input type="checkbox" id="publicShareDisclaimer" class="checkbox noJSAutoUpdate"