fix cache key used to verify shared mountpoints

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2023-01-09 13:48:44 +01:00
parent adef2b85c8
commit 927174e325
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -104,7 +104,7 @@ class SharedMount extends MountPoint implements MoveableMount {
array $mountpoints,
CappedMemoryCache $folderExistCache
) {
$cacheKey = $this->user->getUID() . '/' . $share->getTarget();
$cacheKey = $this->user->getUID() . '/' . $share->getId();
$cached = $this->cache->get($cacheKey);
if ($cached !== null) {
return $cached;