mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 05:13:10 -04:00
Merge pull request #22921 from nextcloud/no-root-encryption-wrapper
dont apply encryption wrapper for root mount
This commit is contained in:
commit
d2e67312bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue