Redirect to default page after login

This commit is contained in:
Bjoern Schiessle 2016-07-27 12:11:58 +02:00
parent 318d68a9a9
commit 4ecd16c555
No known key found for this signature in database
GPG key ID: 2378A753E2BF04F6

View file

@ -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());
}
}