From 7c476e4fa205d0a2562f5c402b9de6eba8f41ded Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 27 Jul 2016 12:11:58 +0200 Subject: [PATCH] Redirect to default page after login --- core/Controller/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 44635cc709b..91f7fa0b25a 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -231,7 +231,7 @@ class LoginController extends Controller { return new RedirectResponse($location); } } - return new RedirectResponse($this->urlGenerator->linkToRoute('files.view.index')); + return new RedirectResponse(OC_Util::getDefaultPageUrl()); } } -- 2.39.5