Koha/koha-tmpl
David Cook d3687f0b62
Bug 36148: Allow Koha::Middleware::CSRF to use error/exception middlewares
This change allows Koha::Middleware::CSRF to use the ErrorDocument and
HTTPExcetions middlewares to display the correct status codes and HTML
documents.

Leveraging Plack environmental variables, we're also able to pass along
data to the error page handlers to show warnings indicating that there
was a missing CSRF token.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 11:01:04 +01:00
..
intranet-tmpl Bug 36148: Allow Koha::Middleware::CSRF to use error/exception middlewares 2024-03-01 11:01:04 +01:00
opac-tmpl Bug 36148: Allow Koha::Middleware::CSRF to use error/exception middlewares 2024-03-01 11:01:04 +01:00