force redirect to app_protocol

This commit is contained in:
afornerot 2024-02-20 10:22:06 +01:00
parent 652d3365a1
commit 8cfee4699e
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ class HomeController extends AbstractController
{
public function home()
{
return $this->redirectToRoute("app_login");
if($this->getUser())
return $this->redirectToRoute("app_scrum");
else
return $this->redirectToRoute("app_login");
}
public function admin()