summaryrefslogtreecommitdiffstats
path: root/apps/encryption/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-29 17:18:41 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-04-30 11:38:53 +0200
commit70a44621beac44e258b46ff17e1d68d86e18d00d (patch)
tree17eeb5660f7e74e683cff60cf6b86f8b13ad7446 /apps/encryption/settings
parentd308ec4f0ea54e8cb0c99228a480da8cb7cf30a8 (diff)
downloadnextcloud-server-70a44621beac44e258b46ff17e1d68d86e18d00d.tar.gz
nextcloud-server-70a44621beac44e258b46ff17e1d68d86e18d00d.zip
check recovery setting for the right user
Diffstat (limited to 'apps/encryption/settings')
-rw-r--r--apps/encryption/settings/settings-personal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/settings/settings-personal.php b/apps/encryption/settings/settings-personal.php
index 01e1bdab0ea..003a27da71d 100644
--- a/apps/encryption/settings/settings-personal.php
+++ b/apps/encryption/settings/settings-personal.php
@@ -56,7 +56,7 @@ $privateKeySet = $session->isPrivateKeySet();
$initialized = $session->getStatus();
$recoveryAdminEnabled = \OC::$server->getConfig()->getAppValue('encryption', 'recoveryAdminEnabled');
-$recoveryEnabledForUser = $util->isRecoveryEnabledForUser();
+$recoveryEnabledForUser = $util->isRecoveryEnabledForUser($user);
$result = false;