]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: Do not use incognito mode for direct editing
authorJulius Härtl <jus@bitgrid.net>
Tue, 19 Mar 2024 08:31:00 +0000 (09:31 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 22 Jul 2024 12:44:21 +0000 (12:44 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/private/DirectEditing/Manager.php

index d1be1f50330c91b56c34df381f51a47bdca80379..a527dcd6c9edb1923d9229784de6fc988f50192a 100644 (file)
@@ -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 {