Commit d263359c authored by Moreau Elise's avatar Moreau Elise
Browse files

add session in delete user

parent 0032cb8c
......@@ -22,7 +22,7 @@ class DeleteUserAction extends UserAction
$this->logger->info("User has been deleted.");
session_unset();
return $this->twig->render($this->response, "/home/home.twig", []);
return $this->twig->render($this->response, "/home/home.twig", ["session" => $_SESSION]);
}
}
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