aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-04-06 12:55:29 +0200
committerLouis Chemineau <louis@chmn.me>2022-04-06 15:41:41 +0200
commit0e06ee68c0af2a953a5b32865c48a8bdfa6396b3 (patch)
tree80f49a8cfd6ee51f9f4e9e835e48a92cf2bbbc86 /apps/settings/src
parent3b98db15e1386aac18bc7041e3d1c9b1b5617e17 (diff)
downloadnextcloud-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/src')
-rw-r--r--apps/settings/src/admin.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings/src/admin.js b/apps/settings/src/admin.js
index c3704eed42c..ee7b4b6b202 100644
--- a/apps/settings/src/admin.js
+++ b/apps/settings/src/admin.js
@@ -155,6 +155,10 @@ window.addEventListener('DOMContentLoaded', () => {
$('#shareapi_restrict_user_enumeration_combinewarning_setting').toggleClass('hidden', !this.checked)
})
+ $('#shareapi_restrict_user_enumeration_full_match').on('change', function() {
+ $('#shareapi_restrict_user_enumeration_full_match_userid_setting').toggleClass('hidden', !this.checked)
+ })
+
$('#allowLinks').change(function() {
$('#publicLinkSettings').toggleClass('hidden', !this.checked)
$('#setDefaultExpireDate').toggleClass('hidden', !(this.checked && $('#shareapiDefaultExpireDate')[0].checked))