Merge pull request #598 from nextcloud/fix-defaultapp-master

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