mirror of
https://github.com/nextcloud/server.git
synced 2026-03-22 10:30:49 -04:00
fix: Do not use incognito mode for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
6101abbb2d
commit
20dd80d2fd
1 changed files with 0 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue