Permalink
Browse files

[stable9.1] Redirect to default page after login - fixes #25562 (#25600)

  • Loading branch information...
DeepDiver1975 committed Jul 25, 2016
1 parent f5c5bac commit ce22d032f86cad5117edd52ee7660917a38c66fe
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/Controller/LoginController.php
@@ -214,7 +214,8 @@ public function tryLogin($user, $password, $redirect_url) {
return new RedirectResponse($location);
}
}
return new RedirectResponse($this->urlGenerator->linkToRoute('files.view.index'));
return new RedirectResponse(OC_Util::getDefaultPageUrl());
}
}

0 comments on commit ce22d03

Please sign in to comment.