make master key the new default

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pull/5174/head
Bjoern Schiessle 9 years ago
parent 984953ef4a
commit 9c5ba2f12c
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
  1. 1
      apps/encryption/appinfo/info.xml
  2. 2
      apps/encryption/lib/Util.php

@ -33,6 +33,7 @@
</settings>
<commands>
<command>OCA\Encryption\Command\EnableMasterKey</command>
<command>OCA\Encryption\Command\DisableMasterKey</command>
<command>OCA\Encryption\Command\MigrateKeys</command>
</commands>
</info>

@ -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');
}

Loading…
Cancel
Save