auth and session changes

This commit is contained in:
Ryan
2025-03-07 05:24:45 -05:00
committed by GitHub
parent 32e34607f0
commit 05f53bf8ca
15 changed files with 30 additions and 49 deletions

View File

@@ -1,6 +1,5 @@
<?php
require_once 'config.php';
session_start();
header('Content-Type: application/json');
if (!isset($_SESSION['authenticated']) || $_SESSION['authenticated'] !== true) {