Redirect to default page after login

This commit is contained in:
Bjoern Schiessle 2016-07-27 12:11:58 +02:00
parent cb10ca5c23
commit 7c476e4fa2
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 1 additions and 1 deletions

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