USERS_FILE fix

This commit is contained in:
Ryan
2025-03-03 12:39:00 -05:00
committed by GitHub
parent d331436f13
commit d8dcdd28e6
7 changed files with 10 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ require 'config.php';
session_start();
header('Content-Type: application/json');
$usersFile = USERS_FILE;
$usersFile = UPLOAD_DIR . USERS_FILE;
// Function to authenticate user
function authenticate($username, $password) {