summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-04-13 15:38:09 +0200
committerLouis Chemineau <louis@chmn.me>2022-05-03 17:50:29 +0200
commit80fa3c731961335a4b0fe4c6086cadb4e5defa2b (patch)
tree64b9738792300fdffa2eca37aa247f2fbd7a652e /apps/settings/src
parent290697b08f3ca4faa34b631cf70ea521cf52142f (diff)
downloadnextcloud-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/src')
-rw-r--r--apps/settings/src/admin.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/src/admin.js b/apps/settings/src/admin.js
index feb03a865b9..8012dcb8863 100644
--- a/apps/settings/src/admin.js
+++ b/apps/settings/src/admin.js
@@ -157,6 +157,7 @@ window.addEventListener('DOMContentLoaded', () => {
$('#shareapi_restrict_user_enumeration_full_match').on('change', function() {
$('#shareapi_restrict_user_enumeration_full_match_userid_setting').toggleClass('hidden', !this.checked)
+ $('#shareapi_restrict_user_enumeration_full_match_email_setting').toggleClass('hidden', !this.checked)
$('#shareapi_restrict_user_enumeration_full_match_ignore_second_display_name_setting').toggleClass('hidden', !this.checked)
})