Log out user after deleting account
This commit is contained in:
parent
c13ec1829a
commit
1292a22b02
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ if (processForm()) {
|
|||
|
||||
query('delete', 'users', ['username' => $_SESSION['username']]);
|
||||
|
||||
redir();
|
||||
require "logout.php";
|
||||
|
||||
success("Compte supprimé.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue