Update logout.php

This commit is contained in:
nolanwhy 2023-02-05 20:17:55 +01:00
parent 5cbd04796e
commit f0a6a005d9
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
<?php
session_start();
unset($_SESSION["user"]);
$_SESSION = array();
unset($_SESSION);
session_destroy();
header("Location: /");