From 4eb9cd35908b307db953037d63f50b4605e68552 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 4 Aug 2023 10:56:50 +0200 Subject: [PATCH] Bug 34478: Replace csrf_token input with include file perl -p -i -n -e 's##[% INCLUDE '\''csrf-token.inc'\'' %]#g' **/*.tt **/*.inc This should have actually been done at the same time as "Bug 30524: (QA follow-up) Only generate CSRF token if it will be used" --- koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 2 +- .../intranet-tmpl/prog/en/modules/basket/sendbasketform.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/members/deletemem.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/mancredit.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/maninvoice.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/member-flags.tt | 2 +- .../prog/en/modules/members/member-password.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/paycollect.tt | 6 +++--- .../prog/en/modules/members/two_factor_auth.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/import_borrowers.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/picture-upload.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 +- 17 files changed, 21 insertions(+), 21 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index 3ed1cc52826..3ee86d767f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -255,7 +255,7 @@ - + [% INCLUDE 'csrf-token.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt index 108aa1ea927..6d449fb77bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt @@ -33,7 +33,7 @@
Cancel
- + [% INCLUDE 'csrf-token.inc' %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt index 1471572aa22..cc1934b574f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt @@ -62,7 +62,7 @@