This commit is contained in:
Trygve
2025-10-31 01:45:41 +01:00
parent 5b62326c42
commit 2aff55b50d
10 changed files with 21 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ $runner_id = $_POST['id'];
$time = $_POST['time'];
$password = $_POST['password'];
$hash = file_get_contents("$documentRoot/data/hash.txt");
include("$documentRoot/data/hash.php");
if (!password_verify($password, $hash)) {
http_response_code(response_code: 401);