aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DirectEditing/Manager.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2024-03-19 09:31:00 +0100
committerJulius Härtl <jus@bitgrid.net>2024-03-19 11:30:18 +0100
commit20dd80d2fd7bf2bb41dc4523dcb5d9b6b03b73ee (patch)
tree31e1d666838529978fa0f1fd50a3f6e7afd8804d /lib/private/DirectEditing/Manager.php
parent6101abbb2dd9408cdda666ec491751447dc1ab07 (diff)
downloadnextcloud-server-20dd80d2fd7bf2bb41dc4523dcb5d9b6b03b73ee.tar.gz
nextcloud-server-20dd80d2fd7bf2bb41dc4523dcb5d9b6b03b73ee.zip
fix: Do not use incognito mode for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/DirectEditing/Manager.php')
-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 da4811589da..53e2e170ed1 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 {