diff options
author | Louis Chemineau <louis@chmn.me> | 2022-04-13 15:38:09 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-05-03 17:50:29 +0200 |
commit | 80fa3c731961335a4b0fe4c6086cadb4e5defa2b (patch) | |
tree | 64b9738792300fdffa2eca37aa247f2fbd7a652e /apps/settings/templates | |
parent | 290697b08f3ca4faa34b631cf70ea521cf52142f (diff) | |
download | nextcloud-server-80fa3c731961335a4b0fe4c6086cadb4e5defa2b.tar.gz nextcloud-server-80fa3c731961335a4b0fe4c6086cadb4e5defa2b.zip |
Add setting to ignore email during search
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r-- | apps/settings/templates/settings/admin/sharing.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/settings/templates/settings/admin/sharing.php b/apps/settings/templates/settings/admin/sharing.php index 04c7f1aa3ae..ccf21893b1c 100644 --- a/apps/settings/templates/settings/admin/sharing.php +++ b/apps/settings/templates/settings/admin/sharing.php @@ -256,6 +256,15 @@ } ?> /> <label for="shareapi_restrict_user_enumeration_full_match_userid"><?php p($l->t('Match username when restricting to full match'));?></label><br /> </p> + <p id="shareapi_restrict_user_enumeration_full_match_email_setting" class="double-indent <?php if ($_['shareAPIEnabled'] === 'no' || $_['restrictUserEnumerationFullMatch'] === 'no') { + p('hidden'); +}?>"> + <input type="checkbox" name="shareapi_restrict_user_enumeration_full_match_email" value="1" id="shareapi_restrict_user_enumeration_full_match_email" class="checkbox" + <?php if ($_['restrictUserEnumerationFullMatchEmail'] === 'yes') { + print_unescaped('checked="checked"'); +} ?> /> + <label for="shareapi_restrict_user_enumeration_full_match_email"><?php p($l->t('Match email when restricting to full match'));?></label><br /> + </p> <p id="shareapi_restrict_user_enumeration_full_match_ignore_second_display_name_setting" class="double-indent <?php if ($_['shareAPIEnabled'] === 'no' || $_['restrictUserEnumerationFullMatch'] === 'no') { p('hidden'); }?>"> |