summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-01 13:12:24 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-01 13:12:24 +0100
commit4c2aff0807f668c03d4b426fbe98c2216665f133 (patch)
tree70b286b1df9a0c086bf66e0e2acdc403e9d76c91 /apps/files_sharing
parent2d4896e2a733be04555f64deea06577f61c2f0b1 (diff)
downloadnextcloud-server-4c2aff0807f668c03d4b426fbe98c2216665f133.tar.gz
nextcloud-server-4c2aff0807f668c03d4b426fbe98c2216665f133.zip
fixup! Sharing: redirect to download after authentification if requested
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Controller/ShareController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php
index c4d9e739658..f793d35e3ae 100644
--- a/apps/files_sharing/lib/Controller/ShareController.php
+++ b/apps/files_sharing/lib/Controller/ShareController.php
@@ -174,7 +174,7 @@ class ShareController extends Controller {
* @param string $password
* @return RedirectResponse|TemplateResponse|NotFoundResponse
*/
- public function authenticate($token, $redirect = 'preview', $password = '') {
+ public function authenticate($token, $redirect, $password = '') {
// Check whether share exists
try {