summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-11-23 13:37:07 +0100
committerJulius Härtl <jus@bitgrid.net>2023-02-17 10:18:18 +0100
commit47bc0248858a0a448f938688b0fea5b506e4dd77 (patch)
tree51ff8c8ab1aa9726979ac0eedaba5826a4e9d4cf /apps/files/lib
parent90d2cb09b1a8f4c5a82955641a0afedddb0a590d (diff)
downloadnextcloud-server-47bc0248858a0a448f938688b0fea5b506e4dd77.tar.gz
nextcloud-server-47bc0248858a0a448f938688b0fea5b506e4dd77.zip
Revert the token scope to not end up with storing the user used in the session
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Controller/DirectEditingViewController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/DirectEditingViewController.php b/apps/files/lib/Controller/DirectEditingViewController.php
index 06bde8d63d7..30d54d5ceb3 100644
--- a/apps/files/lib/Controller/DirectEditingViewController.php
+++ b/apps/files/lib/Controller/DirectEditingViewController.php
@@ -54,6 +54,7 @@ class DirectEditingViewController extends Controller {
/**
* @PublicPage
* @NoCSRFRequired
+ * @UseSession
*
* @param string $token
* @return Response