From fa84aadf36b49b1894ea926737c5b5ca78e7b78d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 6 Feb 2024 15:54:32 +0100 Subject: [PATCH] Bug 34478: Add csrf-token in meta Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 1 + koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc index 06c5d42754..e89a1336e3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -6,6 +6,7 @@ [% PROCESS 'html_helpers.inc' %] + [% IF logged_in_user %][% END %] [%# Prevent XFS attacks -%] [% UNLESS popup %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc index 402633854b..67f324473d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc @@ -6,6 +6,7 @@ + [% Asset.css("lib/jquery/responsive.dataTables.min.css") | $raw %] [% IF ( Koha.Preference('OpacMetaDescription') ) %] -- 2.39.5