fixup! Sharing: redirect to download after authentification if requested
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
2d4896e2a7
commit
4c2aff0807
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue