]> source.dussan.org Git - nextcloud-server.git/commitdiff
Redirect to default page after login 598/head
authorBjoern Schiessle <bjoern@schiessle.org>
Wed, 27 Jul 2016 10:11:58 +0000 (12:11 +0200)
committerBjoern Schiessle <bjoern@schiessle.org>
Wed, 27 Jul 2016 10:11:58 +0000 (12:11 +0200)
core/Controller/LoginController.php

index 44635cc709b65735380cd7d96ef3df63f9e3cff6..91f7fa0b25a8447105c72a7656fbe7141a4192cb 100644 (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());
        }
 
 }