commit
dfc0a26e57
|
@ -276,12 +276,11 @@ class Encryption implements IEncryptionModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->keyManager->recoveryKeyExists() &&
|
if ($this->keyManager->recoveryKeyExists() &&
|
||||||
$this->util->recoveryEnabled($this->user)) {
|
$this->util->isRecoveryEnabledForUser()) {
|
||||||
|
|
||||||
$publicKeys[$this->keyManager->getRecoveryKeyId()] = $this->keyManager->getRecoveryKey();
|
$publicKeys[$this->keyManager->getRecoveryKeyId()] = $this->keyManager->getRecoveryKey();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $publicKeys;
|
return $publicKeys;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue