From 4481fb33777660e89b77bbc614ef6757b41e6337 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" Signed-off-by: Jonathan Druart --- 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 f183253d9f..9cd8271a34 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -262,7 +262,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 908e30418b..8dcce676cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt @@ -46,7 +46,7 @@ - + [% INCLUDE 'csrf-token.inc' %]