summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/Util.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-05-30 11:40:40 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-07-06 11:33:03 +0200
commit9c5ba2f12cf8f3a7b3587fd8ef304aed86e703e1 (patch)
treead0e229009eecc9c6f2f40e9e444ff9fec73a2d9 /apps/encryption/lib/Util.php
parent984953ef4a5917e672118a96e3b3714862011308 (diff)
downloadnextcloud-server-9c5ba2f12cf8f3a7b3587fd8ef304aed86e703e1.tar.gz
nextcloud-server-9c5ba2f12cf8f3a7b3587fd8ef304aed86e703e1.zip
make master key the new default
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/encryption/lib/Util.php')
-rw-r--r--apps/encryption/lib/Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/Util.php b/apps/encryption/lib/Util.php
index 72afa68aad2..d6ae9bd7e5e 100644
--- a/apps/encryption/lib/Util.php
+++ b/apps/encryption/lib/Util.php
@@ -136,7 +136,7 @@ class Util {
* @return bool
*/
public function isMasterKeyEnabled() {
- $userMasterKey = $this->config->getAppValue('encryption', 'useMasterKey', '0');
+ $userMasterKey = $this->config->getAppValue('encryption', 'useMasterKey', '1');
return ($userMasterKey === '1');
}