This commit is contained in:
2025-11-18 03:43:21 +01:00
parent beb7d9c868
commit 9b1f1f0710
16 changed files with 2369 additions and 576 deletions

11
public/logout.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
require __DIR__ . '/../config/db.php';
require __DIR__ . '/../src/Auth.php';
$auth = new Auth($pdo);
$auth->logout();
header('Location: /');
exit;