diff options
author | Louis Chemineau <louis@chmn.me> | 2022-04-06 12:55:29 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-04-06 15:41:41 +0200 |
commit | 0e06ee68c0af2a953a5b32865c48a8bdfa6396b3 (patch) | |
tree | 80f49a8cfd6ee51f9f4e9e835e48a92cf2bbbc86 /apps/settings/templates | |
parent | 3b98db15e1386aac18bc7041e3d1c9b1b5617e17 (diff) | |
download | nextcloud-server-0e06ee68c0af2a953a5b32865c48a8bdfa6396b3.tar.gz nextcloud-server-0e06ee68c0af2a953a5b32865c48a8bdfa6396b3.zip |
Add settings to not match userID during full match
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r-- | apps/settings/templates/settings/admin/sharing.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/admin/sharing.php b/apps/settings/templates/settings/admin/sharing.php index b51f9339166..09918d4bc64 100644 --- a/apps/settings/templates/settings/admin/sharing.php +++ b/apps/settings/templates/settings/admin/sharing.php @@ -245,7 +245,16 @@ <?php if ($_['restrictUserEnumerationFullMatch'] === 'yes') { print_unescaped('checked="checked"'); } ?> /> - <label for="shareapi_restrict_user_enumeration_full_match"><?php p($l->t('Allow username autocompletion when entering the full name or email address (ignoring missing phonebook match and being in the same group)'));?></label><br /> + <label for="shareapi_restrict_user_enumeration_full_match"><?php p($l->t('Allow autocompletion when entering the full name or email address (ignoring missing phonebook match and being in the same group)'));?></label><br /> + </p> + <p id="shareapi_restrict_user_enumeration_full_match_userid_setting" class="double-indent <?php if ($_['shareAPIEnabled'] === 'no' || $_['restrictUserEnumerationFullMatchUserId'] === 'no') { + p('hidden'); +}?>"> + <input type="checkbox" name="shareapi_restrict_user_enumeration_full_match_userid" value="1" id="shareapi_restrict_user_enumeration_full_match_userid" class="checkbox" + <?php if ($_['shareeEnumerationFullMatchUserId'] === 'yes') { + print_unescaped('checked="checked"'); +} ?> /> + <label for="shareapi_restrict_user_enumeration_full_match_userid"><?php p($l->t('Match username when restricting to full match'));?></label><br /> </p> <p> |