fixup! Sharing: redirect to download after authentification if requested

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/8590/head
John Molakvoæ (skjnldsv) 2018-03-01 13:12:24 +07:00
parent 2d4896e2a7
commit 4c2aff0807
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 1 additions and 1 deletions

@ -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 {