Improved CP error handling and audit log

This commit is contained in:
Pinga 2025-03-31 13:00:34 +03:00
parent 0c6cb72852
commit 18e6eafb41
5 changed files with 113 additions and 3 deletions

View file

@ -384,6 +384,4 @@ $app->add(function (Psr\Http\Message\ServerRequestInterface $request, Psr\Http\S
->withHeader('Location', '/')
->withStatus(302);
}
});
$app->addErrorMiddleware(false, true, true);
});