Harden Project 01 public endpoints
This commit is contained in:
+3
-1
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/auth/helper.php';
|
||||
require_once __DIR__ . '/koneksi.php';
|
||||
start_session();
|
||||
$_SESSION = [];
|
||||
clear_session_cookie();
|
||||
session_destroy();
|
||||
header('Location: index.php');
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user