Merge pull request #22921 from nextcloud/no-root-encryption-wrapper
dont apply encryption wrapper for root mount
This commit is contained in:
commit
d2e67312bb
|
@ -81,7 +81,7 @@ class EncryptionWrapper {
|
|||
'mount' => $mount
|
||||
];
|
||||
|
||||
if (!$storage->instanceOfStorage(Storage\IDisableEncryptionStorage::class)) {
|
||||
if (!$storage->instanceOfStorage(Storage\IDisableEncryptionStorage::class) && $mountPoint !== '/') {
|
||||
$user = \OC::$server->getUserSession()->getUser();
|
||||
$mountManager = Filesystem::getMountManager();
|
||||
$uid = $user ? $user->getUID() : null;
|
||||
|
|
Loading…
Reference in New Issue