force redirect to app_protocol
This commit is contained in:
parent
652d3365a1
commit
8cfee4699e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user