summaryrefslogtreecommitdiffstats
path: root/lib/private/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 /lib/private/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 'lib/private/Settings')
-rw-r--r--lib/private/Settings/Admin/Sharing.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Settings/Admin/Sharing.php b/lib/private/Settings/Admin/Sharing.php
index 9b17efa8028..8f57f77b20a 100644
--- a/lib/private/Settings/Admin/Sharing.php
+++ b/lib/private/Settings/Admin/Sharing.php
@@ -64,6 +64,7 @@ class Sharing implements ISettings {
'shareExcludeGroups' => $this->config->getAppValue('core', 'shareapi_exclude_groups', 'no') === 'yes' ? true : false,
'shareExcludedGroupsList' => $excludeGroupsList,
'publicShareDisclaimerText' => $this->config->getAppValue('core', 'shareapi_public_link_disclaimertext', null),
+ 'enableLinkPasswordByDefault' => $this->config->getAppValue('core', 'shareapi_enable_link_password_by_default', 'no'),
];
return new TemplateResponse('settings', 'admin/sharing', $parameters, '');