diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-09-15 15:58:04 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-09-15 15:58:04 +0200 |
commit | 705432ca6f70b9bcc51132b304ca0ff0a5af0d10 (patch) | |
tree | dc3f76602b0b3cbba74e1ae019c68c23bc8b1f60 /settings | |
parent | 6d02fe06c671f788ef548fd90b59816ca047e689 (diff) | |
download | nextcloud-server-705432ca6f70b9bcc51132b304ca0ff0a5af0d10.tar.gz nextcloud-server-705432ca6f70b9bcc51132b304ca0ff0a5af0d10.zip |
Add filter for `shareapi_allow_share_dialog_user_enumeration`
This adjusts the contacts menu to also support searching by email address which is relevant in scenarios where no UID is known such as LDAP, etc.
Furthermore, if `shareapi_allow_share_dialog_user_enumeration` is disabled only results are shown that match the full user ID or email address.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/settings/admin/sharing.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/settings/admin/sharing.php b/settings/templates/settings/admin/sharing.php index 38071a4bee9..9c9e8c07809 100644 --- a/settings/templates/settings/admin/sharing.php +++ b/settings/templates/settings/admin/sharing.php @@ -96,7 +96,7 @@ <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" class="checkbox" <?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 /> + <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 or email address needs to be entered.'));?></label><br /> </p> <p> <input type="checkbox" id="publicShareDisclaimer" class="checkbox noJSAutoUpdate" |