summaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-05-12 12:19:07 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-05-16 17:41:09 +0200
commitb6e14af861481d0b2ebf6ca752d994c5adfce866 (patch)
tree522434e1a85c90b7212a0c9ebed0174e24a11e8e /core/js/config.php
parentdab3cb65cf16d78796ce8dc23fa1f72aa9846b7e (diff)
downloadnextcloud-server-b6e14af861481d0b2ebf6ca752d994c5adfce866.tar.gz
nextcloud-server-b6e14af861481d0b2ebf6ca752d994c5adfce866.zip
allow admin to enforce passwords for public link shares
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/config.php b/core/js/config.php
index 9169cc14a7b..33665b8401c 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -79,6 +79,7 @@ $array = array(
'defaultExpireDateEnabled' => $defaultExpireDateEnabled,
'defaultExpireDate' => $defaultExpireDate,
'defaultExpireDateEnforced' => $enforceDefaultExpireDate,
+ 'enforcePasswordForPublicLink' => \OCP\Util::isPublicLinkPasswordRequired(),
)
)
),