aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorAdam Serbinski <adam@serbinski.com>2022-05-27 11:29:15 -0400
committerAdam Serbinski <37986043+ASerbinski@users.noreply.github.com>2024-03-21 18:25:31 -0400
commit9c528d412c677b686d0776a43ec9567d6639a083 (patch)
treebfe7a6fe53aff33a1f4004b49d30bd2fb594191a /lib/private/Share20
parent26ae5e6dfbdd482e6fbfe1cd6a1161ff39f984cc (diff)
downloadnextcloud-server-9c528d412c677b686d0776a43ec9567d6639a083.tar.gz
nextcloud-server-9c528d412c677b686d0776a43ec9567d6639a083.zip
ShareByMailProvider: getAccessList: add token to returned array
This allows the share URI to be regenerated. Signed-off-by: Adam Serbinski <adam@serbinski.com>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/Manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 279750afaa6..bafea10b125 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -1690,8 +1690,8 @@ class Manager implements IManager {
* ],
* public => bool
* mail => [
- * 'email1@maildomain1' => ['node_id' => 42],
- * 'email2@maildomain2' => ['node_id' => 23],
+ * 'email1@maildomain1' => ['node_id' => 42, 'token' => 'aBcDeFg'],
+ * 'email2@maildomain2' => ['node_id' => 23, 'token' => 'hIjKlMn'],
* ]
* ]
*