summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-02-23 15:16:13 +0100
committerVincent Petry <pvince81@owncloud.com>2016-02-24 13:58:21 +0100
commit4829a2d421902e0edede30a71c96a86c576a17b1 (patch)
tree4fe9dc440688ac6c2160850e7d8f0d46dc77daf4 /apps/files_external/js
parentfae6643e6dd4bc308170e0ab45886f110f60a639 (diff)
downloadnextcloud-server-4829a2d421902e0edede30a71c96a86c576a17b1.tar.gz
nextcloud-server-4829a2d421902e0edede30a71c96a86c576a17b1.zip
Disable sharing by default for external storage mounts
This is for newly created mount points. Migrated mount points will have sharing enabled as before.
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 26df203091e..96b56d221c5 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -23,7 +23,7 @@ var MOUNT_OPTIONS_DROPDOWN_TEMPLATE =
' <label for="mountOptionsPreviews">{{t "files_external" "Enable previews"}}</label>' +
' </div>' +
' <div class="optionRow">' +
- ' <input id="mountOptionsSharing" name="enable_sharing" type="checkbox" value="true" checked="checked"/>' +
+ ' <input id="mountOptionsSharing" name="enable_sharing" type="checkbox" value="true"/>' +
' <label for="mountOptionsSharing">{{t "files_external" "Enable sharing"}}</label>' +
' </div>' +
' <div class="optionRow">' +
@@ -888,7 +888,7 @@ MountConfigListView.prototype = _.extend({
$tr.find('input.mountOptions').val(JSON.stringify({
'encrypt': true,
'previews': true,
- 'enable_sharing': true,
+ 'enable_sharing': false,
'filesystem_check_changes': 1
}));
}