fixup! Sharing: redirect to download after authentification if requested

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-03-01 13:12:24 +01: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

View File

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