Initial Commit

This commit is contained in:
DOMINIK SCHRADER
2025-12-01 11:30:25 +01:00
commit 007dfc57fd
20 changed files with 1313 additions and 0 deletions

6
api/auth/me.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
$auth = isset($_SESSION['user']);
echo json_encode([
'authenticated' => $auth,
'user' => $auth ? $_SESSION['user'] : null
]);