suppression trace de debug

This commit is contained in:
2021-02-04 17:05:39 +01:00
parent 6acf427696
commit 1fec858f01

View File

@@ -129,11 +129,9 @@ class SecurityController extends AbstractController
$roles=$user->getRoles(); $roles=$user->getRoles();
if(!in_array("ROLE_VISITOR",$roles)) if(!in_array("ROLE_VISITOR",$roles))
return $this->redirect($this->generateUrl('app_home')); return $this->redirect($this->generateUrl('app_home'));
else { else
dump("here");
return $this->redirect($this->generateUrl('app_customer_home')); return $this->redirect($this->generateUrl('app_customer_home'));
} }
}
} }