summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-03-27 15:11:13 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-04-03 10:57:52 +0200
commitb85b6f2439d78dc3c762b0b1297cdfa5bb677406 (patch)
tree0d47bc4cdb311fda7ab554d0e5afc60fc6380969 /settings
parentd56f6399eb925e50f2a7556710bb99424c2b4316 (diff)
downloadnextcloud-server-b85b6f2439d78dc3c762b0b1297cdfa5bb677406.tar.gz
nextcloud-server-b85b6f2439d78dc3c762b0b1297cdfa5bb677406.zip
feature endorse password for share links
works like "enforce password protection", but let the user optionally remove the password protection after the password is set. by Timo Benk Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin/sharing.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/templates/admin/sharing.php b/settings/templates/admin/sharing.php
index db025c8f205..9de71c58990 100644
--- a/settings/templates/admin/sharing.php
+++ b/settings/templates/admin/sharing.php
@@ -46,7 +46,9 @@
<input type="checkbox" name="shareapi_allow_public_upload" id="allowPublicUpload" class="checkbox"
value="1" <?php if ($_['allowPublicUpload'] == 'yes') print_unescaped('checked="checked"'); ?> />
<label for="allowPublicUpload"><?php p($l->t('Allow public uploads'));?></label><br/>
-
+ <input type="checkbox" name="shareapi_enable_link_password_by_default" id="enableLinkPasswordByDefault" class="checkbox"
+ value="1" <?php if ($_['enableLinkPasswordByDefault'] === 'yes') print_unescaped('checked="checked"'); ?> />
+ <label for="enableLinkPasswordByDefault"><?php p($l->t('Always ask for a password'));?></label><br/>
<input type="checkbox" name="shareapi_enforce_links_password" id="enforceLinkPassword" class="checkbox"
value="1" <?php if ($_['enforceLinkPassword']) print_unescaped('checked="checked"'); ?> />
<label for="enforceLinkPassword"><?php p($l->t('Enforce password protection'));?></label><br/>