aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2024-03-19 09:31:00 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-07-22 12:44:21 +0000
commitf413e80fedad5357723071983fc927a411b253dc (patch)
tree0b9563ff32df47c89037cb792025f1e5b1a55855
parent03a08e3863dde0ac5231bbb7bbe3f3dcadbae918 (diff)
downloadnextcloud-server-f413e80fedad5357723071983fc927a411b253dc.tar.gz
nextcloud-server-f413e80fedad5357723071983fc927a411b253dc.zip
fix: Do not use incognito mode for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--lib/private/DirectEditing/Manager.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/DirectEditing/Manager.php b/lib/private/DirectEditing/Manager.php
index d1be1f50330..a527dcd6c9e 100644
--- a/lib/private/DirectEditing/Manager.php
+++ b/lib/private/DirectEditing/Manager.php
@@ -272,13 +272,11 @@ class Manager implements IManager {
}
public function invokeTokenScope($userId): void {
- \OC_User::setIncognitoMode(true);
\OC_User::setUserId($userId);
}
public function revertTokenScope(): void {
$this->userSession->setUser(null);
- \OC_User::setIncognitoMode(false);
}
public function createToken($editorId, File $file, string $filePath, IShare $share = null): string {