Fix autoload runtime to return 403 on Auth failure

This commit is contained in:
Matt Lorimer 2025-07-21 17:47:34 +01:00 committed by Jack Anderson
parent 0b4d31e64d
commit 072c9228dd

View file

@ -57,7 +57,7 @@ if (!empty($legacyRoute)) {
$access = $legacyRoute['access'] ?? false;
if ($access === false) {
http_response_code(404);
http_response_code(403);
exit;
}