summaryrefslogtreecommitdiffstats
path: root/apps/encryption/settings/settings-personal.php
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2015-05-05 10:48:09 +0200
committerBjörn Schießle <bjoern@schiessle.org>2015-05-05 10:48:09 +0200
commit2ce01ee0bfd61a6b947154214908ccf9c4fc877f (patch)
tree27003a0380a692edbdd2e2d4f1b0aa6f022dc88a /apps/encryption/settings/settings-personal.php
parenta7deba74a7a42cd20d8ad9604ed8a83e78ff0bb6 (diff)
parent31b65749dd69baded46e5924082db5de856e7cea (diff)
downloadnextcloud-server-2ce01ee0bfd61a6b947154214908ccf9c4fc877f.tar.gz
nextcloud-server-2ce01ee0bfd61a6b947154214908ccf9c4fc877f.zip
Merge pull request #15938 from owncloud/enc_update_recovery_share_key
[encryption] check recovery key setting for the correct user
Diffstat (limited to 'apps/encryption/settings/settings-personal.php')
-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;