]> git.koha-community.org Git - koha.git/commit
Bug 34368: Add CSRF token to Content Management pages
authorDavid Cook <dcook@prosentient.com.au>
Tue, 25 Jul 2023 05:18:00 +0000 (05:18 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jul 2023 19:12:39 +0000 (09:12 -1000)
commite0d8356d9d2ac0b6338fe3ca7454e2e90a6c4a41
treef12389ee90f548f21ccff66324972933ab98e905
parent3d648da3987f3f2fe2e0183edc863fc610a392b8
Bug 34368: Add CSRF token to Content Management pages

This change adds a CSRF token to the Content Management pages
at additional-contents.pl.

Test plan:
0. Apply patch
1. koha-plack --restart kohadev
2. Try to add "News", "HTML customizations", and "Pages".
3. Try to delete these new content entries
4. Note that you were successful in your endeavours

JD amended patch: remove empty line removal (no need to create
unecessary conflicts)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e97fae72141446b0a2fb06c454c601966e5f3494)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt
tools/additional-contents.pl