summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/lib/KeyManager.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/encryption/lib/KeyManager.php b/apps/encryption/lib/KeyManager.php
index 26f023ed8f9..96264d01363 100644
--- a/apps/encryption/lib/KeyManager.php
+++ b/apps/encryption/lib/KeyManager.php
@@ -406,6 +406,9 @@ class KeyManager {
}
if ($this->util->isMasterKeyEnabled()) {
+ if ($this->session->getStatus() === Session::NOT_INITIALIZED)
+ $this->init('', '');
+
$uid = $this->getMasterKeyId();
}