make master key the new default
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
984953ef4a
commit
9c5ba2f12c
|
@ -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…
Reference in New Issue