Commit 7517b1b9 authored by Mat's avatar Mat

register, permet de voir comment l'image est récupérée

dump, chemin temporaire
parent 2c24a6e4
......@@ -43,6 +43,8 @@ class ChatController extends Controller
if ($form->isSubmitted() && $form->isValid())
dump($user->getFile()); die;
$user->setRole(["ROLE_USER"]); // on affecte un rôle
$pwd = $encoder->encodePassword($user, $user->getPassword());
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