Skip to content
Snippets Groups Projects
Commit 5d8757af authored by Moreau Elise's avatar Moreau Elise
Browse files

add flash message when update an user

parent d486a223
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@ class ModifyUserAction extends UserAction
$this->em->flush();
$this->logger->info("Your account has been changed.");
$this->flash->addMessage('modify_user', 'You account has been updated.');
return $this->response
->withHeader('Location', '/account')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment