mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
Fix sharing of encrypted files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
855e766cae
commit
d7ef87cc95
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ class Encryption implements IEncryptionModule {
|
|||
$this->keyManager->deleteAllFileKeys($path);
|
||||
|
||||
foreach ($shareKeys as $uid => $keyFile) {
|
||||
$this->keyManager->setShareKey($this->path, $uid, $keyFile);
|
||||
$this->keyManager->setShareKey($path, $uid, $keyFile);
|
||||
}
|
||||
} else {
|
||||
$this->logger->debug('no file key found, we assume that the file "{file}" is not encrypted',
|
||||
|
|
|
|||
Loading…
Reference in a new issue