From 70a44621beac44e258b46ff17e1d68d86e18d00d Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 29 Apr 2015 17:18:41 +0200 Subject: check recovery setting for the right user --- apps/encryption/settings/settings-personal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/encryption/settings') 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; -- cgit v1.2.3