Commit 56fd84d8 authored by Mat's avatar Mat

pas nécessaire, géré par la nouvelle auth

parent c1ab27ca
......@@ -87,7 +87,6 @@ class DefaultController extends MasterController
{
$user = $this->getUser();
$token = $request->query->get('token');
if ($user !== null)
{
......@@ -110,16 +109,6 @@ class DefaultController extends MasterController
}
} else if ($token !== null) {
$groupes = array();
$dataToken = $lettreToken->decodePotageAccess($token);
dump($dataToken);
} else {
return $this->redirectToRoute('fos_user_security_login');
}
return $this->render('@Potage/Default/today.html.twig', array(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment