Skip to content

Commit

Permalink
Merge pull request #3094 from catchpoint/fix_rerun
Browse files Browse the repository at this point in the history
Unset key for resubmit test
  • Loading branch information
claud-io authored Aug 7, 2024
2 parents 0b54592 + 080674d commit 9e1c47e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions www/runtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
}
if (array_key_exists('resubmit', $_POST)) {
$test = GetTestInfo(trim($_POST['resubmit']));
if (array_key_exists('key', $test)){
$test['key'] = null;
}
if ($test) {
unset($test['completed']);
unset($test['started']);
Expand Down
1 change: 1 addition & 0 deletions www/work/getwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
$block = explode(',', $block_list);
if (in_array($pc, $block)) {
header("HTTP/1.1 403 Unauthorized");
exit();
}
}

Expand Down

0 comments on commit 9e1c47e

Please sign in to comment.