added a logout page
This commit is contained in:
parent
975217fe80
commit
40519abf95
10
logout.php
Normal file
10
logout.php
Normal 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;
|
||||
?>
|
Loading…
Reference in New Issue
Block a user