summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/users/setup.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-09-07 11:38:44 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-09-07 16:08:41 +0200
commitacfc7d7c4d4c2daf00ecd61b11eaa9d953868b92 (patch)
tree19752216adf83b38b4e858a1759a98ba1b067931 /apps/encryption/lib/users/setup.php
parentc4096767ccf6a88422a474e786b8e4a398ede84e (diff)
downloadnextcloud-server-acfc7d7c4d4c2daf00ecd61b11eaa9d953868b92.tar.gz
nextcloud-server-acfc7d7c4d4c2daf00ecd61b11eaa9d953868b92.zip
enable usage of a master key
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,