if the database doesn't contain any information about the recovery mode than we assume that it is disabled

remotes/origin/stable6
Bjoern Schiessle 12 years ago
parent 4c7ef85252
commit 6e77fa46f2
  1. 2
      apps/files_encryption/settings-admin.php

@ -13,7 +13,7 @@ $tmpl = new OCP\Template('files_encryption', 'settings-admin');
// Check if an adminRecovery account is enabled for recovering files after lost pwd
$view = new OC_FilesystemView('');
$recoveryAdminEnabled = OC_Appconfig::getValue('files_encryption', 'recoveryAdminEnabled');
$recoveryAdminEnabled = OC_Appconfig::getValue('files_encryption', 'recoveryAdminEnabled', '0');
$tmpl->assign('recoveryEnabled', $recoveryAdminEnabled);

Loading…
Cancel
Save