Disable shared folders creation by default

This commit is contained in:
yflory
2018-07-20 18:41:14 +02:00
parent f2baaf5b5b
commit 20a9eee719
3 changed files with 15 additions and 5 deletions

View File

@@ -126,5 +126,11 @@ define(function() {
// Warning: This is an experimental feature. It will be enabled by default once we're sure it's stable.
config.disableWorkers = true;
// Shared folder are in a beta-test state. They are likely to disappear from a user's drive
// spontaneously, resulting in the deletion of the entire folder's content.
// We highly recommend to keep them disabled until they are stable enough to be enabled
// by default by the CryptPad developers.
config.disableSharedFolders = true;
return config;
});

View File

@@ -267,6 +267,7 @@ define([
forceCreationScreen: forceCreationScreen,
password: password,
channel: secret.channel,
enableSF: localStorage.CryptPad_SF === "1" // TODO to remove when enabled by default
};
for (var k in additionalPriv) { metaObj.priv[k] = additionalPriv[k]; }