Merge pull request #599 from nextcloud/fix-defaultapp-master-stable10

Redirect to default page after login
This commit is contained in:
Björn Schießle 2016-07-27 14:30:56 +02:00 committed by GitHub
commit b0f23598e1
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());
}
}