Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MOREAU Elise
project-covid
Commits
d263359c
Commit
d263359c
authored
Nov 01, 2020
by
Moreau Elise
Browse files
add session in delete user
parent
0032cb8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Application/Actions/User/DeleteUserAction.php
View file @
d263359c
...
...
@@ -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
]);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment