summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/users/setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/lib/users/setup.php')
-rw-r--r--apps/encryption/lib/users/setup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/encryption/lib/users/setup.php b/apps/encryption/lib/users/setup.php
index 433ea824c9b..d4f7c374547 100644
--- a/apps/encryption/lib/users/setup.php
+++ b/apps/encryption/lib/users/setup.php
@@ -84,6 +84,7 @@ class Setup {
*/
public function setupServerSide($uid, $password) {
$this->keyManager->validateShareKey();
+ $this->keyManager->validateMasterKey();
// Check if user already has keys
if (!$this->keyManager->userHasKeys($uid)) {
return $this->keyManager->storeKeyPair($uid, $password,