added a logout page

This commit is contained in:
Louis Vallat 2019-11-09 23:13:11 +01:00
parent 975217fe80
commit 40519abf95

10
logout.php Normal file
View File

@ -0,0 +1,10 @@
<?php
require_once("./assets/php/utils.php");
// Disconnect the user
disconnect();
// Redirect to login page
header("location: login.php");
exit;
?>